-->
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.  [ 4 posts ] 
Author Message
 Post subject: how to use Query.executeUpdate()?
PostPosted: Sun Mar 05, 2006 2:55 am 
Newbie

Joined: Fri Feb 17, 2006 12:18 am
Posts: 11
hi, i'm using hibernate 3.1 and i found Query has a executeUpdate() method but how to write HQL?

can HQL support "update" or "delete"?

thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 05, 2006 12:55 pm 
Senior
Senior

Joined: Tue Aug 23, 2005 8:52 am
Posts: 181
Yes, it can. Refer to examples at
http://www.hibernate.org/hib_docs/v3/re ... tch-direct


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 06, 2006 9:14 am 
Newbie

Joined: Fri Feb 17, 2006 12:18 am
Posts: 11
Thanks!


Top
 Profile  
 
 Post subject: Re: how to use Query.executeUpdate()?
PostPosted: Sat Sep 23, 2006 8:31 am 
Newbie

Joined: Sat Sep 23, 2006 6:37 am
Posts: 3
asklxf wrote:
hi, i'm using hibernate 3.1 and i found Query has a executeUpdate() method but how to write HQL?

can HQL support "update" or "delete"?

thanks!


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