A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
PostGIS in Action
this week in the
JDBC and Relational Databases
Java Advanced Topics Training
Java in General
EJB and other Java EE Technologies
@TABLEGENERATOR doesn t work
Joined: Apr 26, 2011
Apr 27, 2011 08:18:11
i have a problem with unique id declaration based on annotation @TableGenerator ,
i try to use name,table,pkcolumnname,valuecolumnname,pkcolumnname,initialValue,allocationsize
to be completely autonomous but it seems that at each
,the JVM is based on SEQUENCE table instead of my table i have defined.
i have to say that i m in eclipse but in
SE configuration.entity simple creation works correctly when sequence table is created.
has everybody a correct declaration with the 3 annotations @Id,@tableGenerator and @generatedValue?
I agree. Here's the link:
subject: @TABLEGENERATOR doesn t work
Query on various properties wrt auto table generator
Doubt on TableGenerator
Creating an JPA in eclipse
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015