[JBoss-user] [Persistence & CMP/JBoss] - Re: UPDATE after INSERT in CMR

2004-03-29 Thread loubyansky
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=

[JBoss-user] [Persistence & CMP/JBoss] - Re: UPDATE after INSERT in CMR

2004-03-23 Thread mkyaj
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

[JBoss-user] [Persistence & CMP/JBoss] - Re: UPDATE after INSERT in CMR

2004-03-22 Thread loubyansky
| | | 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