Bernhard,
No, JBoss 3.x does the insert after ejbCreate. 4.0 is reputed to have (will have) support for INSERT after ejbPostCreate.
Ciao,
Jonathan O'Connor
Development Manager
XCOM Dublin
Phone: +353 1 872 3305
Mobile: +353 86 824 0736
"Meyer-Willner, Bernhard" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 13.03.2003 15:09
|
To: "JBoss-User (E-Mail)" <[EMAIL PROTECTED]> cc: Subject: [JBoss-user] CMP Entity Bean Insert/Commit after ejbPostCreate() |
Hi,
does JBoss 3.2 issue INSERT/COMMIT after ejbPostCreate() or is it possible
to configure it this way (you can do this e.g. in WebLogic) ?
As far as I know, all JBoss 3.0.x versions already do an INSERT between
ejbCreate() and ejbPostCreate(). Has this changed in any newer version()?
This is a problem for me, since this means FK columns can't be declared as
NOT NULL since as y'all know CMR fields can only be set in ejbPostCreate().
I don't want to use Deferred Constraints feature some databases offer.
Cheers,
Bernhard
Bernhard Meyer-Willner, MSc
Insurance - Financial Services
_________________________________________
LogicaCMG
Logica GmbH
Osterbekstrasse 90b - Alster City
22083 Hamburg
Germany
T: +49 (0) 40 27071-405 (direct)
M: +49 (0) 177 425-9036
E: mailto:[EMAIL PROTECTED]
www.logicacmg.com
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.
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user