Package com.arjuna.ats.jdbc
Class TransactionalDriver
java.lang.Object
com.arjuna.ats.jdbc.TransactionalDriver
- All Implemented Interfaces:
Driver
Transactional JDBC 2.0 driver. This returns transactional JDBC connections
when required.
We try to make this look as much like a standard
JDBC driver as possible.
- Since:
- JTS 2.0.
- Version:
- $Id: TransactionalDriver.java 2342 2006-03-30 13:06:17Z $
- Author:
- Mark Little (mark@arjuna.com)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) connect(String url, Properties info) intintgetPropertyInfo(String url, Properties info) boolean
-
Field Details
-
arjunaDriver
- See Also:
-
jdbc
- See Also:
-
userName
- See Also:
-
password
- See Also:
-
dynamicClass
- See Also:
-
createDb
- See Also:
-
poolConnections
- See Also:
-
XADataSource
-
maxConnections
- See Also:
-
-
Constructor Details
-
TransactionalDriver
public TransactionalDriver()
-
-
Method Details
-
connect
- Specified by:
connectin interfaceDriver- Throws:
SQLException
-
acceptsURL
- Specified by:
acceptsURLin interfaceDriver- Throws:
SQLException
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersionin interfaceDriver
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersionin interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()- Specified by:
jdbcCompliantin interfaceDriver
-
getPropertyInfo
- Specified by:
getPropertyInfoin interfaceDriver- Throws:
SQLException
-
getParentLogger
- Specified by:
getParentLoggerin interfaceDriver- Throws:
SQLFeatureNotSupportedException
-