Probably, you are using primary key generation entity-command and the primary key is
generated at INSERT time. If so, of course, it won't work.
As a workaround, you could use some entity-command that generates keys before INSERT.
Sorry, but that's the spec.
http://www.jboss.org/index.html?module=
Hi,
I think that flag is to specify whether the insert has to be called before
ejbPostCreate() or after ejbPostCreate();
Possible values are:
false - the default value, INSERT will be executed after ejbCreate but before
ejbPostCreate;
true - INSERT will be executed after ejbPostCreate
|
|
| INSERT after ejbPostCreate Container
| true
|
|
|
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827005#3827005";>View
the original post
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827005>Reply
to the po