]
Alessandro Faraotti updated HHH-5055:
-------------------------------------
Attachment: testCase.zip
The testCase.zip contains an eclipse 3.5 project that reproduce the error.
Run: test.Test
DB2: Username: user, Password: password
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: 2 days
Remaining Estimate: 2 days
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: