nice, thanks Jonathan. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Jonathan.O'[EMAIL PROTECTED] > Sent: Monday, December 30, 2002 6:10 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] How to INSERT after ebjPostCreate versus > ejbCreate > > > Rod, > If you are using Oracle as your DB, then you can mark your CMR fk columns > as DEFERRABLE INITIALLY DEFERRED. > Oracle will only check the non-null constraints at commit time. Shouldn't > be a problem for you. > > Other DBs may have something similar. > > Ciao, > Jonathan > > > > > "Rod Macpherson" <[EMAIL PROTECTED]> > Sent by: [EMAIL PROTECTED] > 21.12.2002 19:53 > Please respond to jboss-user > > > To: <[EMAIL PROTECTED]> > cc: > Subject: [JBoss-user] How to INSERT after > ebjPostCreate versus ejbCreate > > > Calling an entity bean CMR setter method within ejbCreate is prohibited. > The > general solution is to make CMP calls within ejbCreate and CMR calls in > ejbPostCreate. That solution does not work when the CMR field maps > directly > to a non-nullable required column value. WebLogic resolves this issue by > deferring INSERT statements. How does one specify that option in JBoss? > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: Order your Holiday Geek Presents Now! > Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap, > MP3 Players, XBox Games, Flying Saucers, WebCams, Smart Putty. > T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user