[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-665) @SQLInsert and @SQLUpdate doesn't parse given sql query to set parameters to PreparedStatement properly
todd orr (JIRA)
noreply at atlassian.com
Thu Apr 3 08:46:33 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29929 ]
todd orr commented on ANN-665:
------------------------------
Why not just used named parameters?
@SQLInsert(... sql = "exec myproc :myProperty...)
> @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