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

koti (JIRA) noreply at atlassian.com
Thu Sep 18 09:49:04 EDT 2008


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