|
From: <no...@at...> - 2005-08-16 20:16:19
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/browse/HHH-870 Here is an overview of the issue: --------------------------------------------------------------------- Key: HHH-870 Summary: support SQL updates in named queries Type: New Feature Status: Unassigned Priority: Minor Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: Hibernate3 Components: core Assignee: Reporter: Nathan Moon Created: Tue, 16 Aug 2005 3:15 PM Updated: Tue, 16 Aug 2005 3:15 PM Environment: Hibernate 3.0.5, SQL Server 2000 Description: currently attempting to execute a named <sql-query> that is an update statement throws java.lang.UnsupportedOperationException: Update queries only supported through HQL. In order to execute sql updates, the Session.connection() must be used directly. (see forum topic http://forum.hibernate.org/viewtopic.php?t=940281) It would be very nice to be able to be able to externalize SQL update statements and be able to run them with Session.getNamedQuery(). --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |