-->
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: Dynamicaly deleting objects
PostPosted: Fri Mar 21, 2008 5:39 pm 
Newbie

Joined: Fri Mar 21, 2008 5:12 pm
Posts: 4
Hi,
I am new to hibernate so I have a question.
I need to dynamically delete raws in tables that are hibernate objects.
If I have a hibernate persistent object, I want to delete all rows in all tables in the whole database that are connected to this object.
The whole point is that when I create new tables that are related to this table the code will delete them too without changing the code.
What is the best and the mos efficient way of doing in with hibernate?

Thanks ahead!


Top
 Profile  
 
 Post subject: oops I am talking about hibernate 2
PostPosted: Fri Mar 21, 2008 5:40 pm 
Newbie

Joined: Fri Mar 21, 2008 5:12 pm
Posts: 4
oops I am talking about hibernate 2


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.