-->
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: Delete and Update Questions for Future?
PostPosted: Fri Oct 17, 2003 3:31 pm 
Beginner
Beginner

Joined: Thu Sep 11, 2003 8:41 am
Posts: 35
Location: Atlanta, GA
Hey Hibernate guys,

I was wondering if there are plans to make more bulk methods.

For Instance.

I see a

Code:
session.delete( Object );


are there plans to make a

Code:
session.delete( List );


Similarly, there is a

Code:
session.delete( String, Object[], Type[] );


are there plans to make a

Code:
session.update( String, Object[], Type[] )'


or maybe a

Code:
session.update( List );


I can see this coming in very handy. For instance if you have an Employee table with a manager_id on it, and a manager was replaced, it would be nice to be able to do something in hibernate that would mimic...

Code:
update employee
set manager_id = :newManager
where manager_id = :oldManager


Just thought I would run those by you. A way to do this without actually accessing the connection directly and doing straight jdbc would be really nice!

Thanks,

_________________
I am the reason spellcheck was created!!!


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.