Uses of Class
com.aoapps.dbc.DatabaseConnection
-
Uses of DatabaseConnection in com.aoapps.dbc
Modifier and TypeMethodDescriptionDatabase.connect()
Creates a newDatabaseConnection
instance.final DatabaseConnection
Database.createDatabaseConnection()
Deprecated, for removal: This API element is subject to removal in a future version.Adds an on-commit event handler, which are called in order just after the transaction has been successfully committed.DatabaseConnection.onRollback
(RunnableE<?> onRollback) Adds an on-rollback event handler, which are called in reverse order just before the transaction will be rolled-back.Modifier and TypeMethodDescriptionDatabaseCallable.call
(DatabaseConnection db) DatabaseCallableE.call
(DatabaseConnection db) void
DatabaseRunnable.run
(DatabaseConnection db) void
DatabaseRunnableE.run
(DatabaseConnection db)
Database.connect()
or one of the various call/run methods, which enforce the transaction semantics.