]
Steve Ebersole closed HHH-6916.
-------------------------------
Resolution: Fixed
That was fixed yesterday
Improper handling of primitive arrays in
AbstractQueryImpl.registerParameterBinding
-----------------------------------------------------------------------------------
Key: HHH-6916
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6916
Project: Hibernate Core
Issue Type: Bug
Components: entity-manager, query-hql, query-sql
Environment: hibernate-entitymanager-3.6.4.Final
Reporter: Christoph Friedl
Assignee: Steve Ebersole
Priority: Minor
Labels: query
Fix For: 4.0.1
Time Spent: 2h 43m
Setting arrays other than Object[] as query parameter throws an exception because of the
following code line:
{{else if ( value.getClass().isArray() && value.getClass().equals( Object[].class
) )}}
{{value.getClass().equals( Object[].class )}} just returns true if he given parameter is
indeed of type Object[]
e.g. String[].class does not equal Object[].class
A very similar issue has been discussed some time ago - [#HHH-5817]
--
This message is automatically generated by JIRA.
For more information on JIRA, see: