Ron Yust wrote:
> Please be patient with my ignorance.  If I have no entity beans, and my
> session bean is handling transaction management via JDBC, would tx
> management still fail?

You can't "handle transaction management via JDBC". That is done through
the Transaction Coordinator, which you as a session bean cannot access.
If you're referring to simply calling begin, commit and rollback on JDBC
connections, that is not tx management.

Do this:
* Acquire connections by looking up the appropriate DataSource through
JNDI
* Do queries against the database using the connections
* Release the connections when you're done with them by calling close()
* Do nothing more than the above steps. The app server will take care of
everything else. That's its job.

Why do you want to smash your head against the wall and insist on doing
it the wrong way? I don't get it...go with the flow dude...

/Rickard

--
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684

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