[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-3328) Paging query error
Gail Badner (JIRA)
noreply at atlassian.com
Wed Jun 4 12:59:33 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gail Badner closed HHH-3328.
----------------------------
> Paging query error
> ------------------
>
> Key: HHH-3328
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3328
> Project: Hibernate3
> Issue Type: Bug
> Components: query-hql
> Environment: Hibernate 3.2.6ga, Oracle 9.2
> Reporter: Sonix Legend
> Assignee: Gail Badner
> Priority: Blocker
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> I have two mapping files.
> A.hbm.xml
> <composite-id name="id" class="ID">
> <key-property name="a1">
> <column name="A1"/>
> </key-property>
> <key-property name="a2">
> <column name="A2"/>
> </key-property>
> </composite-id>
> <set name="b">
> <key>
> <column name="B1"/>
> <column name="B2"/>
> </key>
> <one-to-many class="B"/>
> </set>
> B.hbm.xml
> <property name="b1">
> <column name="B1"/>
> </property>
> <property name="b2">
> <column name="B2"/>
> </property>
> <many-to-one name="a" class="A">
> <column name="B1"/>
> <column name="B2"/>
> </many-to-one>
> And I have a query language.
> "select b from B as b left outer join b.a as a"
> It's right when the query executed.
> But when I set the "max results" property, it reported a error which content is "SQL Error: 918, SQLState: 42000 ORA-00918: column ambiguously defined".
--
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