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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptsURL
(String url) connect
(String url, Properties info) int
int
getPropertyInfo
(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:
connect
in interfaceDriver
- Throws:
SQLException
-
acceptsURL
- Specified by:
acceptsURL
in interfaceDriver
- Throws:
SQLException
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersion
in interfaceDriver
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersion
in interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()- Specified by:
jdbcCompliant
in interfaceDriver
-
getPropertyInfo
- Specified by:
getPropertyInfo
in interfaceDriver
- Throws:
SQLException
-
getParentLogger
- Specified by:
getParentLogger
in interfaceDriver
- Throws:
SQLFeatureNotSupportedException
-