This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to pass primary key from one class to another class using hibernate

 
vinod dampuru
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When the class A is called it should update the first 3 fields in database (i.e) PID,NAME,SHORT_NAME when the class B is called SPNAME,SPSHORT_NAME needs to be updated in the same row.......



 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch
Please UseCodeTags and CarefullyChooseOneForum.

We have a separate forum for ORM - http://www.coderanch.com/forums/f-78/ORM
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic