• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to add data in hibernate with many one-to-many relationships  RSS feed

 
kumuda mulgund
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having a Song class which has one-to-many relationship with other 3 classes - Album,Genre,Login.
These are my POJO classes:



I have tried this method in my service . But it is not working. There aren't any errors either. Please help me.
 
Dave Tolls
Ranch Hand
Posts: 2554
27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're not logging the HibernateException so of course you're not seeing any errors.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!