You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Lucy Zhao <lz...@baan.com> on 2003/04/15 21:20:22 UTC
Transaction and Datasource
In OJB, is it possible to get DataSource from JNDI tree and using
org.apache.ojb.odmg.LocalTxManager as transaction Manager?
"UnSupportedOperationException" was thrown at broker.beginTransaction().
Even though DataSource was configured in repository.xml, it seems from the
stackTrace that OJB tried to get database connections instead of data
source.
Did I miss anything? Thank you! (BTW, the web server is Tomcat)
Lucy