[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3690) Sybase - FumTest.testCompositeKeyPathExpressions() fails due to subquery with more than one column in select list

Gail Badner (JIRA) noreply at atlassian.com
Wed Jan 7 04:03:38 EST 2009


Sybase - FumTest.testCompositeKeyPathExpressions() fails due to subquery with more than one column in select list
-----------------------------------------------------------------------------------------------------------------

                 Key: HHH-3690
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3690
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
            Reporter: Gail Badner


Sybase only allows one column in a subquery select list. The only exception is that a subquery in an EXISTS() predicate can have '*' as the select list. This  is documented at:
http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc32300.1502/html/sqlug/sqlug181.htm

FumTest.testCompositeKeyPathExpressions() fails with "SybSQLException: Incorrect syntax near ','."

The HQL that fails is: "from Fum fum1 where exists elements(fum1.friends)". It fails becuase the elements have a composite ID.

The fix described in HHH-3032 should fix this issue since the subquery is used in an EXISTS() predicate..

-- 
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