[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5055) Invalid SQL query generated starting form a Criteria containing two restrictions about class type.

Alessandro Faraotti (JIRA) noreply at atlassian.com
Wed Mar 31 05:47:32 EDT 2010


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

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