Interface JDBCAccess
-
public interface JDBCAccessDo not return a connection which participates within the transaction 2-phase commit protocol! All connections will have auto-commit set to true, or we will not be able to use them. So don't return an Arjuna JDBC 1.0 or 2.x connection.- Since:
- JTS 2.1.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectiongetConnection()voidinitialise(StringTokenizer stringTokenizer)This method can be used to pass additional information to the implementation.
-
-
-
Method Detail
-
getConnection
Connection getConnection() throws SQLException
- Returns:
- the connection to use for the object store. If a pool of connections is used, this method may be called up to maxpoolsize times. It must not return the same connection each time.
- Throws:
SQLException
-
initialise
void initialise(StringTokenizer stringTokenizer)
This method can be used to pass additional information to the implementation.
-
-