[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-3485) use oracle sequence in composite-id

Gail Badner (JIRA) noreply at atlassian.com
Thu Sep 18 16:18:04 EDT 2008


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

Gail Badner closed HHH-3485.
----------------------------


> use oracle sequence in composite-id
> -----------------------------------
>
>                 Key: HHH-3485
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3485
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.3.1
>         Environment: oracle,hibernate3.2
>            Reporter: rao
>            Assignee: Gail Badner
>            Priority: Critical
>
>  <composite-id name="id" class="sat.ny.ss.entity.VId">
>             <key-property name="offenderId" type="long" >
>                 <column name="manged_ID" precision="28" scale="0" />
>             </key-property>
>             <key-property name="vehicleId" type="long">
>                 <column name="VEHICLE_ID" precision="28" scale="0" />
>             </key-property>
>         </composite-id>
> how to declare the oracle sequence in composite-id of above .
> i have to use oracle sequence name is vehicle_id_seq to the vehicle_id

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