]
Steve Ebersole updated HHH-6916:
--------------------------------
Assignee: Steve Ebersole
Not proper array-handling 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
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: