|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.cpa.persistence.sql.engine.CastorConnection
public final class CastorConnection
CastorConnection class holding connection and factory parameters to encapsulate their usage in case of creation of CastorStatements.
| Constructor Summary | |
|---|---|
CastorConnection(Connection connection,
PersistenceFactory factory)
Constructor. |
|
| Method Summary | |
|---|---|
CastorStatement |
createStatement()
Method to create new CastorStatement using local instances of Connection & PersistenceFactory. |
Connection |
getConnection()
Getter returning current _connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CastorConnection(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.| Method Detail |
|---|
public CastorStatement createStatement()
public Connection getConnection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||