-->
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.  [ 3 posts ] 
Author Message
 Post subject: Delete objects with one step SQL command
PostPosted: Wed May 04, 2005 5:46 pm 
Newbie

Joined: Wed May 04, 2005 5:38 pm
Posts: 15
Hibernate version: 2.1.6

Name and version of the database you are using: mysql

Hi all,

How can i delete more than one object with a Hibernate method which results only one SQL command without select query. Maybe: DELETE FROM mytable1 WHERE ID IN (1,2,5)

Thx


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 04, 2005 9:48 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
Not possible in Hibernate2.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 04, 2005 10:17 pm 
Newbie

Joined: Wed May 04, 2005 5:38 pm
Posts: 15
thx


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.