Subject | Re: [Firebird-Java] Re: hibernate reverse engeneering - id - @SequenceGenerator annotation |
---|---|
Author | Edgardo Alvarez |
Post date | 2017-05-11T19:59:15Z |
hi pablo evaluate using @tableGenerator with JPA, i use firebird 2.5 with jaybird 3, whitout any problem
this work for me:
@Id (Anotation)
@TableGenerator(name="NoPeIdGen", table="ID_GEN_NOTAP",
pkColumnName="FNAME",pkColumnValue="Notadepedido" , valueColumnName="FKEY",
allocationSize=1)
@GeneratedValue(strategy=GenerationType.TABLE,generator="NoPeIdGen")
private long id; (field)
2017-05-11 11:14 GMT-03:00 pablos@... [Firebird-Java] <Firebird-Java@yahoogroups.com>:
I forgot to mention, that I'm using jaybird 2.2.13 .
Edgardo D. Alvarez
Programador