This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

IdentifierGenerationException  RSS feed

 
Nazmul Bhuiyan
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I�m getting the following Error:

Unable to invoke method listenerSubmit on com.fujitsu.efi.web.pages.InfringementsMaint$Enhance_12@bb6255[InfringementsMaint]: org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): com.fujitsu.efi.infringement.model.EfiInfBatch



How should I set composite ids here? I�m setting both the id manually in my java. What about the EfiInfBatchId in EfiInfBatch class?



The efi_inf_batch table looks like:






 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!