ConnectionWrapper

Wrapper class for connection

Constructors

this
this(ConnectionCloseHandler pool, Connection base)

Undocumented in source.

Members

Functions

close
void close()

Undocumented in source. Be warned that the author may not have intended to support it.

commit
void commit()

Undocumented in source. Be warned that the author may not have intended to support it.

createStatement
Statement createStatement()

Undocumented in source. Be warned that the author may not have intended to support it.

getAutoCommit
bool getAutoCommit()

Undocumented in source. Be warned that the author may not have intended to support it.

getCatalog
string getCatalog()

Undocumented in source. Be warned that the author may not have intended to support it.

isClosed
bool isClosed()

Undocumented in source. Be warned that the author may not have intended to support it.

prepareStatement
PreparedStatement prepareStatement(string query)

Undocumented in source. Be warned that the author may not have intended to support it.

rollback
void rollback()

Undocumented in source. Be warned that the author may not have intended to support it.

setAutoCommit
void setAutoCommit(bool autoCommit)

Undocumented in source. Be warned that the author may not have intended to support it.

setCatalog
void setCatalog(string catalog)

Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Connection

close
void close()

Releases this Connection object's database and JDBC resources immediately instead of waiting for them to be automatically released.

commit
void commit()

Makes all changes made since the previous commit/rollback permanent and releases any database locks currently held by this Connection object.

getCatalog
string getCatalog()

Retrieves this Connection object's current catalog name.

setCatalog
void setCatalog(string catalog)

Sets the given catalog name in order to select a subspace of this Connection object's database in which to work.

isClosed
bool isClosed()

Retrieves whether this Connection object has been closed.

rollback
void rollback()

Undoes all changes made in the current transaction and releases any database locks currently held by this Connection object.

getAutoCommit
bool getAutoCommit()

Retrieves the current auto-commit mode for this Connection object.

setAutoCommit
void setAutoCommit(bool autoCommit)

Sets this connection's auto-commit mode to the given state.

createStatement
Statement createStatement()

Creates a Statement object for sending SQL statements to the database.

prepareStatement
PreparedStatement prepareStatement(string query)

Creates a PreparedStatement object for sending parameterized SQL statements to the database.

Meta