This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile 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