Session Synchronization is only supported for SFSB. It is not clearly stated in the spec, but definitely in the javadoc.
/Johan -----Original Message----- From: A mailing list for Enterprise JavaBeans development [mailto:[EMAIL PROTECTED]]On Behalf Of Evan Ireland Sent: den 7 februari 2002 18:29 To: [EMAIL PROTECTED] Subject: Re: question regarding afterBegin(), beforeCompletion(), and afterCom pletion(boolean committed) in the VAJava 3.5.3 WebSphere Test Environme nt Did you make sure to add "implements javax.ejb.SessionSynchronization" in the SLSB class definition? Catalfano Anthony wrote: > I'm using VAJava 3.5.3 in the WebSphere Test Environment. > > I'm using a 2.0 JDBC driver - COM.ibm.db2.jdbc.net.DB2Driver > > For database type I selected JDBC. > > > > ServletClient calls a SLSB's methodA, methodA calls the same SLSB's methodB > > > > TRANSACTION ATTRIBUTE on the bean is TRANSACTION_REQUIRED > > TRANSACTION ATTRIBUTE on the methodA is TRANSACTION_REQUIRED > > TRANSACTION ATTRIBUTE on the methodB is TRANSACTION_REQUIRED > > > > methodB is doing two inserts into a DB2 database > > I'm trying to get the container to manage the DB2 transactions > > The inserts are NOT being committed > > > > I implemented the afterBegin(), beforeCompletion(), and > afterCompletion(boolean committed) > > to see if a transaction was being started. The methods never get called. > > > > Does anyone have any ideas? > > > > Thanks > > Anthony Catalfano > Information Technology Analyst > Deere & Company > 309-748-5201 > -- ____________________________________________________________________________ ___ Evan Ireland Sybase EAServer Engineering [EMAIL PROTECTED] Wellington, New Zealand +64 4 934-5856 =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
