Add a container configuration that uses insert-after-ejb-post-create to your jboss.xml file:
<container-configurations> <container-configuration extends="Standard CMP 2.x EntityBean"> <container-name>sesques-special-config</container-name> <insert-after-ejb-post-create>true</insert-after-ejb-post-create> </container-configuration> </container-configurations> -----Original Message----- From: sesques [mailto:[EMAIL PROTECTED] Sent: Monday, February 09, 2004 1:02 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] [Persistence & CMP/JBoss] - Problem : CMR field cannot be null View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820797#3820797 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=382079 7 Hi, How can I declare the insert strategy (not until ejbPostCreate) with JBOSS. CMR fields cannot be set in ejbCreate but in ejbPostCreate. But JBOSS wants to insert hte item at the end of the ejbCreate method. I know very well Weblogic. For thsi server, the tag is <delay-database-insert-until> defined to ejbPostCreate. What is the equivalent for JBOSS ? ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user