[hibernate-issues] [Hibernate-JIRA] Resolved: (ANN-665) @SQLInsert and @SQLUpdate doesn't parse given sql query to set parameters to PreparedStatement properly

Emmanuel Bernard (JIRA) noreply at atlassian.com
Mon Oct 15 12:39:39 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard resolved ANN-665.
----------------------------------

    Resolution: Rejected

And how can hibernate guess it then? 
Remember we support stored procedures and the ability to execute any kind of UPDATE statement, including not on the original table.

> @SQLInsert and @SQLUpdate doesn't parse given sql query to set parameters to PreparedStatement properly
> -------------------------------------------------------------------------------------------------------
>
>                 Key: ANN-665
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-665
>             Project: Hibernate Annotations
>          Issue Type: Bug
>            Reporter: Gregory Klimov
>            Priority: Minor
>         Attachments: Employee.java
>
>
> According to ANN-551 sql parameters are set to PreparedStatement in pre-defined order which doesn't rely on sql query parameters definition (please refer to attached file). Developer should not be aware of internal hibernate implementation.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list