[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1176) List-index defenition needs to be updated

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Mar 21 13:01:00 EDT 2011


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

Steve Ebersole closed HHH-1176.
-------------------------------


Closing stale resolved issues

> List-index defenition needs to be updated
> -----------------------------------------
>
>                 Key: HHH-1176
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1176
>             Project: Hibernate Core
>          Issue Type: Patch
>          Components: core
>    Affects Versions: 3.0 alpha, 3.0 beta 1, 3.0 beta 2, 3.0 beta 3, 3.0 beta 4, 3.0 rc 1, 3.0 final, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.1 beta 1, 3.1 beta 2, 3.1 rc 1, 3.1 rc2, 3.1 rc3, 3.1, 3.1.1, 3.1.2, 3.2.0.alpha1
>         Environment: oracle
>            Reporter: Lakshmanan Ramakrishnan
>
> Hi,
> When I create List collection in hibernate, I want to use the oracle ROWNUM as the index column. But if i give the column name as ROWNUM, I get a database exception as the ROWNUM is not a physical column (as hibernate appends the columns names with table alias ).
> So I made a change to the DTD as below
> <!ELEMENT list-index ((column|formula)?)>
> <!ATTLIST list-index column CDATA #IMPLIED>
> <!ATTLIST list-index formula CDATA #IMPLIED>
> <!ATTLIST list-index base CDATA "0">
> and used 'formula' instead of column and it works perfectly fine.
> The code is handling this already. So if the DTD is changed List-index can accept formula or a column
> Lakshmanan

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