[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5081) @Type not working together with CriteriaQuery
Oliver Ringel (JIRA)
noreply at atlassian.com
Fri Apr 23 12:32:33 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36658#action_36658 ]
Oliver Ringel commented on HHH-5081:
------------------------------------
Hi Jesper, hi Gail,
I can confirm that the issue is solved with 3.5.1.
BTW, my original test case is ok, but only with the spring stuff.
This was a test case I used for reporting an OpenJpa issue and I forgot to remove the saveEntity test, that is not needed here.
In future I will avoid using other frameworks in test cases if possible.
> @Type not working together with CriteriaQuery
> ----------------------------------------------
>
> Key: HHH-5081
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5081
> Project: Hibernate Core
> Issue Type: Bug
> Components: query-criteria
> Affects Versions: 3.5.0-Final
> Environment: spring 3.0.1, HSQLDB, maven 2.2.1
> Reporter: Oliver Ringel
> Attachments: hhh5081.zip, testcase.tar
>
>
> Using a userdefined @Type as parameter in a CriteriaQuery is not working properly.
> The typeClass seems to be ignored.
> Using the same @Type in a similar JPQL query is working as expected.
--
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