0 Replies Latest reply on Sep 9, 2003 5:11 PM by ahahamyan

    Oracle Sequences with CMP2.0

    ahahamyan

      I am using JBoss 3.2.1 and looking into CMP2.0. We use an oracle 9i database and wanted to find out what does JBossCMP offer for automatically generating (accessing the oracle sequence and getting the next value) the primary key identifier in the ejbCreate. Besides having to write custom Entity Bean or JDBC/DAO to get the next value, is there anything provided by the container? I have seen some info about <auto-increment> and <entity-command name="mysql-get-generated-keys"/> and was hoping if something like this was there for oracle. Thanks in advance