From 3.2.2. (some RC release) there is something like
<insert-after-ejb-post-create/>. You can use this tag to define your own
container config that extends the standard CMP 2.x Entity Bean config. After
that JBoss should issue the insert after ejbPostCreate and NOT NOLL FK
columns shouldn't be a problem any longer. I haven't tried it myself, but I
assume it should work.

Cheers, 
Bernie

-----Ursprüngliche Nachricht-----
Von: Denzil Fillis [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. Oktober 2003 08:42
An: '[EMAIL PROTECTED]'
Betreff: [JBoss-user] FK Columns cant have NOT NULL constraints


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 OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only. It may contain proprietary material, confidential information and/or be subject 
to legal privilege. It should not be copied, disclosed to, retained or used by, any 
other party. If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender. Thank you.

LogicaCMG global sponsors, Gartner Symposium, Cannes, 4th -7th November 2003

http://symposium.gartner.com/story.php.id.3323.s.5.html

Please note that LogicaCMG does not have control over content from,or availability of, 
this website


-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to