AnsweredAssumed Answered

Is it possible to use Integer instead of 'uuid' ?

Question asked by necipakca on Oct 18, 2012
Latest reply on Oct 19, 2012 by jbarrez
Hi all,

I am newbie on activiti ,grails and hibernate, big challange heh :)
i have start to develop a project which is built on grails 2.1.0 and activiti plugin on it.

Firstly ,
The user table using uuid for user id but, i dont want to use uuid because of perfomance issue , The user id will be foreign key most table and it will occupy more place than integer in database. it is possible to change it with integer.

I can not use association types in process.
I mean,
There is a process which has createdUser and approvedUser properties and, these properties are a type of User class. When i designed this type of structure , it try to keep as seriazible type in act_ru_variable table, this is also performance issue. Maybe my approach is wrong.! Also i know that i can use property as String like in VocationRequest example but,i want to use benefit of hibernate.

Could someone give advise to me about using association types in process ?

Best Regards