Subject | hibernate reverse engeneering - id - @SequenceGenerator annotation |
---|---|
Author | |
Post date | 2017-05-11T14:12:18Z |
Hi there.
I'm using eclipse neon and hibernate 5.2.10 (as a JPA project) with firebrd 2.5 .
After serveral attempts to "reveng" a test db, with id's using Generators I see no way to get the :
@SequenceGenerator(name = "seqName", sequenceName = "GEN_TABLE_ID", allocationSize = 1) annotation code in the generated class for any table.
"GEN_TABLE_ID" is the firebird db generator name for that table id .
Is there anything I can do to make it work automatically o should i waste no more time on this
(just code it in) ?
Thank you.
Pablo Sanchez
I'm using eclipse neon and hibernate 5.2.10 (as a JPA project) with firebrd 2.5 .
After serveral attempts to "reveng" a test db, with id's using Generators I see no way to get the :
@SequenceGenerator(name = "seqName", sequenceName = "GEN_TABLE_ID", allocationSize = 1) annotation code in the generated class for any table.
"GEN_TABLE_ID" is the firebird db generator name for that table id .
Is there anything I can do to make it work automatically o should i waste no more time on this
(just code it in) ?
Thank you.
Pablo Sanchez