-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Changing composite ID values
PostPosted: Tue Jan 30, 2007 7:30 am 
Newbie

Joined: Tue Jan 30, 2007 7:10 am
Posts: 1
Hello!

My english is not really good, so im going to explain my problem as good as i can...

I have an object with a composite ID. I need to change one of the field wich is part of this composite ID, is there any way to do this, without deleting and inserting a diferent object in the BD?

thanks!!!!!!!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 30, 2007 9:52 am 
Expert
Expert

Joined: Fri Aug 19, 2005 2:11 pm
Posts: 628
Location: Cincinnati
not using hibernate.

just change the data in the db and change your mappings.

_________________
Chris

If you were at work doing this voluntarily, imagine what you'd want to see to answer a question.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.