Announcement Announcement Module
Collapse
No announcement yet.
GenerationType.IDENTITY instead GenerationType.AUTO Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.
Working...
X