Its been fixed in the 3.2.2 release.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss
        PUBLIC "-//JBoss//DTD JBOSS 3.2//EN"
        "http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd";>

<jboss>
   <enterprise-beans>
      <entity>
        <ejb-name>ChildUPK</ejb-name>
        <local-jndi-name>ChildUPKLocal</local-jndi-name>
        <configuration-name>ejbPostCreate Container</configurationname>
        ...
      </entity>
   </enterprise-beans>

   <container-configurations>
      <container-configuration extends="Standard CMP 2.x EntityBean">
         <container-name>ejbPostCreate Container</container-name>
         <insert-after-ejb-post-create>true</insert-after-ejb-post-create>
      </container-configuration>
   </container-configurations>

</jboss>

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
Denzil Fillis wrote:

Hi All

Is the following statement regarding Foreign keys in JBoss valid? If it is
in which version of JBoss will it be fixed?

"JBoss 3.0.x's CMP engine has this problem that FK columns can't have NOT
NULL constraints,
because it issues an insert/commit between ejbCreate() and ejbPostCreate().
This is according to the official pay CMP docs and own personal experience."

Kind regards
Denzil Fillis



------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to