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

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -