cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti db id generation

habib1
Champ in-the-making
Champ in-the-making
Hi; to migrate from one database to another, I am forced to copy the line of activiti tables, my problem is the generation of id in activiti.
is what activiti uses the sequence to generate id or verified it in the database ?
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Activiti doesn't use sequences or autogenerated ids.

It has a DbIdGenerator that generates ids for every Activiti node on itself (it 'reserves' a block of ids in the database)
As such, simply copying the data will work, no need to care about sequences or autogeneration.