]
Gail Badner updated HHH-5055:
-----------------------------
Affects Version/s: 3.5.1
Thanks for checking!
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, 3.5.1
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: