Hello,
I get this message with the combination of:
<entity-command name="mysql-get-generated-keys"/>
and
<container-configuration extends="Standard CMP 2.x EntityBean">
<container-name>Delayed CMP 2.x EntityBean</container-name>
<insert-after-ejb-post-create>true</insert-after-ejb-post-create>
</container-configuration>
I'm using JBoss 3.2.6 en MySQL 4.0.20a with an autoincrement PK.
I was trying the <insert-after-ejb-post-create> element. Without I don't have problems with the insert.
Is the combination not possible?
T.I.A.
Johan.
Valid primary key value must be available after ejbCreate. So, the combination is not allowed.