Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Class Mapping with composite-id and joined-subclass

 
Luis Silveira
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I do a mapping on a class with an composite id and that extends another class? I'm using as ground http://www.javacodegeeks.com/2012/08/hibernate-composite-ids-with.html example. I've changed it and now when I try to insert data in I got an error.

Report.java




Report.hbm.xml





ReportSummary.java





ReportSummaryId.java





ReportSummaryDetailed.java





ReportSummary.hbm.xml


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic