> > Do most EJB containers / app servers which provide pooled database
> > connections allow autocommit to be turned off on a connection which was
> > obtained from the pool?  I am using JRun, which does not allow this.  it
> > seems to me that this makes the pooled connections pretty useless if you
> > can't use transactions, do other app servers have the same restriction?
> > What about WebLogic?
> >
> > Is this because I should be using transactions at the ejb level instead?
I
> > am new to EJB's so any comments would be appreciated.
>
> Yes. All the JDBC syncpoint options are (or should be) invalid on a
connection
> from the pool because pooled connections hand responsibility for syncpoint
to
> the container.

Thanks, this is the answer, I set the transaction context to "Required" for
that method.

Paul

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