This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
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

Want to Solve Problem with @OneToOne relationship with JPA-Hibernate?

 
Pranoj Ashtamkar
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Want to Solve Problem with @OneToOne relationship with JPA-Hibernate?

I Have 2 tables
1. Plan
-- plan_id(pk)
name
plan_date

2. Plan_Details
-- plan_details_id (pk)
-- area
-- root
-- plan_id (FK) ref to plan table

How to declare in this way in JPA only? This is my project requirement? Please any budy help me to get out this probe?

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic