[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5055) Invalid SQL query generated starting form a Criteria containing two restrictions about class type.
Alessandro Faraotti (JIRA)
noreply at atlassian.com
Wed Apr 21 10:25:36 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36574#action_36574 ]
Alessandro Faraotti commented on HHH-5055:
------------------------------------------
Yes the issue persists with the version 3.5.1 final
> Invalid SQL query generated starting form a Criteria containing two restrictions about class type.
> --------------------------------------------------------------------------------------------------
>
> Key: HHH-5055
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5055
> Project: Hibernate Core
> Issue Type: Bug
> Components: core
> Affects Versions: 3.5.0-CR-2
> Environment: Hibernate 3.5.0-CR2, Db2 Express C 9.71, Eclipse 3.5, Java 6, Windows
> Reporter: Alessandro Faraotti
> Attachments: error_details.txt, testCase.zip
>
> Original Estimate: 16h
> Remaining Estimate: 16h
>
> The hibernate criteria causes an error in DB2
> Issue: the SQL query contains 2 parameters, not qualified, both named "clazz_" for the two restictions.
> DB2Error: SEVERE: DB2 SQL Error: SQLCODE=-203, SQLSTATE=42702, SQLERRMC=CLAZZ_, DRIVER=3.58.82
> Details are attached
--
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