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

Hibernate - Issue when saving a value object and child value object

 
paul king
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 2 Value Objects, the main one (VO1) and its child objects (VO2). VO1 has a property Reference in the format ABC/A123. This is a uniqely generated value on create. Also on the create a VO2 is also saved. What I need to do is grab the A123 part of the Reference property in VO1 and save it on VO2.

Is there a way I can do this?

Thanks in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic