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++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -