-->
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: java.lang.UnsupportedOperationException:
PostPosted: Wed Jan 25, 2006 3:13 pm 
Beginner
Beginner

Joined: Wed Sep 14, 2005 9:11 am
Posts: 22
java.lang.UnsupportedOperationException: Update queries only supported through HQL


are you serious? I can't do sql deletes? I guess I have to get a java.sql.Connection?

Thanks,
Ben


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 25, 2006 3:38 pm 
Expert
Expert

Joined: Wed Apr 06, 2005 5:03 pm
Posts: 273
Location: Salt Lake City, Utah, USA
I opened a JIRA issue (http://opensource2.atlassian.com/projects/hibernate/browse/HHH-870) a while back, and recently someone posted a patch. So maybe it will get put in soon.

Until then, yes, you have to use the Session.connection().

_________________
nathan


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.