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

One To Many BidirectionalMapping  RSS feed

 
vivek dhiman
Ranch Hand
Posts: 155
Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have an issue in the below code in bidirectional mapping. As i am new in hibernate so not exactly knows where i am wrong.
My first class file is as below: Customer2.java

Vendor2.java

Customer2 Mapping File

Vendor2 Mapping File


My Logic File is :



Exception that i am getting

Thanks.
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vivek,

You have marked this topic as resolved. Was that intentional? If not let me know and I can fix it for you. People are less likely to comment on posts that are marked as resolved.
 
vivek dhiman
Ranch Hand
Posts: 155
Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bill for reply. I spent some time and found the mistake that was in my vendor2 mapping file. The there was wrong field in key tag.
Now its working.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!