Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

@TABLEGENERATOR doesn t work

 
christophe lassere
Greenhorn
Posts: 7
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

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 test ,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 JAVA 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?

thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic