cancel
Showing results for 
Search instead for 
Did you mean: 

Data migration

nizar
Champ in-the-making
Champ in-the-making
Hello all,
I'm new in activiti and i want to know  if i can  migrate my data  from one databasase to another  . i m using activiti 5.11 
3 REPLIES 3

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

Yes, automatic and manual db schema upgrade is supported between activiti versions.

Regards
Martin

nizar
Champ in-the-making
Champ in-the-making
thx Martin  ,
but my problem is that i added manually rows in my database , and i want to know if it  will cause a collision or not in the future ,
So i have a doubt if activiti engine use the sequence to generate ids ?
i saw the function getNextId in DbIdGenerator but i did not undersand how activiti engine  generate ids  .

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Nizar,

There are 2 implementations of Id generators in activiti sources.
org.activiti.engine.impl.db.DbIdGenerator
org.activiti.engine.impl.persistence.StrongUuidGenerator

Based on configuration you can use one of them (or your own).
org.activiti.engine.impl.db.DbIdGenerator uses property table row next.dbid to get blocks of free ids. (org.activiti.engine.impl.cmd.GetNextIdBlockCmd)

Regards
Martin