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

Gail Badner (JIRA) noreply at atlassian.com
Tue Sep 28 13:37:58 EDT 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gail Badner resolved HHH-3690.
------------------------------

      Assignee: Gail Badner
    Resolution: Won't Fix

Strong, yes, I think this can be resolved as "Won't Fix". 

Stephen, it would be good if this could be fixed in Sybase.

Thanks,
Gail

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