type
fields
autoCommit |
If auto-commit is true then each statement is executed and committed as an individual transaction. |
---|
methods
close |
Close the database connection. |
---|---|
commit |
Commit all the changes made inside the current transaction. |
isClosed |
Return if |
meta |
Get the database meta-data |
open |
Open a connection to the database specified by the given JDBC uri and username/password credentials. |
rollback |
Undo any changes made inside the current transaction. |
sql |
Create a statement for this database. |
Slot Details
autoCommit
close
abstract Bool close()
Close the database connection. Closing a connection already closed is a no-op. This method is guaranteed to never throw an exception. Return true if the connection was closed successfully or false
if closed abnormally.
commit
abstract Void commit()
Commit all the changes made inside the current transaction.
isClosed
meta
abstract SqlMeta meta()
Get the database meta-data
open
rollback
abstract Void rollback()
Undo any changes made inside the current transaction.