Tom,
There's no need to pass around a java.sql.Connection to control transactions. Use bean
managed transaction demarcation and the UserTransaction interface.
--Victor
Tom Guan wrote:
> I am using stateless session bean to control the access to database, and I tried to
>build up connection beyond my session beans, so I can control transaction (commit and
>rollback) to the whole process, via the connection. The problem is that I can not
>pass conneciton to session bean because Connection is not serializable. Do you have
>any tips for that? thanks.
>
===========================================================================
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".