| java.lang.Object org.lateralnz.simpletrans.TransDataSource
TransDataSource | public class TransDataSource implements Constants,DataSource,Referenceable(Code) | | a transaction aware data source, wrapping a 'real' datasource (ensuring that
all connections returned are wrapped by a TransConnection)
author: J R Briggs |
getConnection | public Connection getConnection() throws SQLException(Code) | | get a connection (see the next getConnection method for more detail)
|
getConnection | public Connection getConnection(String str, String str1) throws SQLException(Code) | | get a jdbc connection -- if the calling thread is in a transaction, then
this connection will be wrapped by a TransConnection object, otherwise
the base connection is returned
NOTE: RequiresNew is -NOT- handled properly at the moment
|
getReference | public Reference getReference()(Code) | | reference method required so this object can be loaded into a registry
|
getTransDataSource | final protected static TransDataSource getTransDataSource(String name)(Code) | | helper method for the object factory associated with this class
|
|
|