This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem in Hibernate mapping  RSS feed

 
ajith raj
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

My domain is like this :



I have two tables to which this is to be saved...


Pleases help me to write an hibernate mapping for this
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure. What have you got so far? Where are you stuck?
 
ajith raj
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to map those children and parent to lines_hierarchy..

I used <join-table> , but i am getting errors at compilation.

Need a suggestion to solve this.

Thanks...


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!