com.arjuna.ats.jdbc
Class TransactionalDriver
java.lang.Object
com.arjuna.ats.jdbc.TransactionalDriver
- All Implemented Interfaces:
- Driver
public class TransactionalDriver
- extends Object
- implements 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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
arjunaDriver
public static final String arjunaDriver
- See Also:
- Constant Field Values
jdbc
public static final String jdbc
- See Also:
- Constant Field Values
userName
public static final String userName
- See Also:
- Constant Field Values
password
public static final String password
- See Also:
- Constant Field Values
dynamicClass
public static final String dynamicClass
- See Also:
- Constant Field Values
createDb
public static final String createDb
- See Also:
- Constant Field Values
TransactionalDriver
public TransactionalDriver()
connect
public Connection connect(String url,
Properties info)
throws SQLException
- Specified by:
connect
in interface Driver
- Throws:
SQLException
acceptsURL
public boolean acceptsURL(String url)
throws SQLException
- Specified by:
acceptsURL
in interface Driver
- Throws:
SQLException
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersion
in interface Driver
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersion
in interface Driver
jdbcCompliant
public boolean jdbcCompliant()
- Specified by:
jdbcCompliant
in interface Driver
getPropertyInfo
public DriverPropertyInfo[] getPropertyInfo(String url,
Properties info)
throws SQLException
- Specified by:
getPropertyInfo
in interface Driver
- Throws:
SQLException
Copyright © 2011. All Rights Reserved.