Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
EJB and other Java EE Technologies
@TABLEGENERATOR doesn t work
posted 4 years ago
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:
Query on various properties wrt auto table generator
Doubt on TableGenerator
Creating an JPA in eclipse