public final class CastorConnection
extends java.lang.Object
Constructor | Description |
---|---|
CastorConnection(java.sql.Connection connection,
PersistenceFactory factory) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
CastorStatement |
createStatement() |
Method to create new CastorStatement using local instances of
Connection & PersistenceFactory.
|
java.sql.Connection |
getConnection() |
Getter returning current _connection.
|
public CastorConnection(java.sql.Connection connection, PersistenceFactory factory)
connection
- Instance of the connection to be used to create CastorStatements.factory
- Instance of PersistenceFactory to be used to create CastorStatements.public CastorStatement createStatement()
public java.sql.Connection getConnection()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com