This content has been marked as final.
Show 5 replies
-
1. Re: (CMP) Error trying to run methods after creation
juha Oct 25, 2003 5:29 AM (in response to nashbr)Are you running in a transaction?
-- Juha -
2. Re: (CMP) Error trying to run methods after creation
nashbr Oct 26, 2003 2:21 AM (in response to nashbr)Yes, in transaction.
I read, that It can be an error with accessing my ID field in DB. it is auto increment(a trigger in Oracle 8i). Or somewhat else? Is there another solution than to edit the jbosscmp-jdbc.xml? (it seems not very clean to me) -
3. Re: (CMP) Error trying to run methods after creation
juha Nov 1, 2003 11:43 AM (in response to nashbr)For sequences you need to configure an unknown primary key in your jbosscmp-jdbc.xml and reference the oracle-sequence entity command.
-- Juha -
4. Re: (CMP) Error trying to run methods after creation
nashbr Nov 3, 2003 4:31 AM (in response to nashbr)there is no oracle-sequence entity command in my jboss-standart.xml
-
5. Re: (CMP) Error trying to run methods after creation
juha Nov 3, 2003 7:25 AM (in response to nashbr)There is one in 3.2.2
<!-- this command requires the specified sequence to have been created --> <entity-command name="oracle-sequence" class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCOracleCreateCommand"> <attribute name="sequence">TEST_SEQUENCE</attribute> </entity-command>