-
Feb 27th, 2013, 06:18 AM
#1
GenerationType.IDENTITY instead GenerationType.AUTO
Hy,
thers is a option to roo command line to generate _Roo_Jpa_Entity @Id column with @GeneratedValue(strategy = GenerationType.IDENTITY) instead GenerationType.AUTO ?
I have MySQL database with autoincrement column key and i launch roo reverse enginerr with this command:
database reverse engineer --schema MYSCHEMA --activeRecord false --package MYPACKAGE
In the _Roo_Jpa_Entity generated the column key is with GenerationType.AUTO and I manually modify che Entity to
GenerationType.IDENTITY.
Thanks a lot.
Antonio.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules