[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4061) When using indexed list parameters in update hql, indexed parameters are not treated right
ron piterman (JIRA)
noreply at atlassian.com
Mon Jul 27 13:11:15 EDT 2009
When using indexed list parameters in update hql, indexed parameters are not treated right
------------------------------------------------------------------------------------------
Key: HHH-4061
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4061
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.3.2
Reporter: ron piterman
Attachments: hibtest.zip
When using the hql:
UPDATE EntityCls SET removed = current_date WHERE id in (?)
the list parameter is treated as Long, causing a ClassCastException.
When using
UPDATE EntityCls SET removed = current_date WHERE id in (:ids)
everything is fine.
Attached is a maven project - unzip and run mvn install.
--
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