sorry for replying late to this thread. I was out of office.
u might have found out the solution already. But just in case...


We also had faced a similar situation .

myMethod()
{
  method1()
  method2()
}

method1() - create a record using entity bean
method2() - update the same record using the data sourse.
And we want them to be the part of same transaction.

We have created one TxDataSource( transactional data source) on top of the
connection pool & we get the connection using that datasource & fire the
update in method2(). And it is working absolutely fine.

I am not sure it will work by just getting the connections from connection
pool.

Try creating one TxDataSourse over the connection pool you have & use the
connection from the data source in metho2() for updates/deletes. it shud
work.

We are using WL6.0 with oracle8i.


------
!! Between every stimulus & response there is a power of choice.... !!
~prashant@tgur
Syntel Inc.
SEEPZ, Mumbai.
> * 8290270 ext - 210
Web:- ppatgur.tripod.com/ppatgur

===========================================================================
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".

Reply via email to