-->
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.  [ 1 post ] 
Author Message
 Post subject: Updating persisted objects
PostPosted: Wed Sep 05, 2007 1:55 pm 
Newbie

Joined: Wed Sep 05, 2007 1:35 pm
Posts: 1
I have the following model:
class B extends class A through joined tables.

During a service request I want to upgrade object A to B. Ideally I would like to have it translated in 2 SQL statements: an update for table A and an insert into table B.

Is there a way to do this without removing object A and then creating B?

Thanks!


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

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.