persistence - Spring ROO - GenerationType.IDENTITY instead GenerationType.AUTO -


hy, thers option roo command line generate _roo_jpa_entity @id column @generatedvalue(strategy = generationtype.identity) instead generationtype.auto ?

i have mysql database autoincrement column key , launch roo reverse enginerr command:

database reverse engineer --schema myschema --activerecord false --package mypackage

in _roo_jpa_entity generated column key generationtype.auto , manually modify che entity generationtype.identity.

thanks lot.

all roo commands , options described in commands reference sections. database reverse engineer currently doesn't support option.

if wish can contribute spring roo improving add-on feature.

good luck!


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

android - Keyboard hides my half of edit-text and button below it even in scroll view -