[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3852) error in generated sql from criteria api on an array property

Elhanan Maayan (JIRA) noreply at atlassian.com
Sat Apr 11 16:05:17 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32850#action_32850 ] 

Elhanan Maayan commented on HHH-3852:
-------------------------------------

update: i believe i narrowed the problem  the problem is with the fetch="select" on many-to-many element, it could happen, inside a list and inside set 

> error in generated sql from criteria api on an array property 
> --------------------------------------------------------------
>
>                 Key: HHH-3852
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3852
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: query-criteria
>    Affects Versions: 3.5
>         Environment: hibernate from trunk, database hqsldb.
>            Reporter: Elhanan Maayan
>         Attachments: ParentChildTest2.java
>
>
> i'm assuming this is hibernate 3.5 version as i took it from the trunk
> the test case ParentChildTest fails under testComplexCriteria, i believe i've managed to isolated the issue to this api:
> i'm attaching a modified version ParentChildTest, showing the criteria api and it's parallel hql counterpart, as you will see the criteria api fails while the hql version passes

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