Class Database

java.lang.Object
com.aoapps.dbc.Database
All Implemented Interfaces:
DatabaseAccess
Direct Known Subclasses:
CloseableDatabase

public class Database extends Object implements DatabaseAccess
Wraps and simplifies access to a JDBC database. If used directly as a DatabaseAccess each individual call is a separate transaction. If the current thread is already in a transaction, the calls will be performed using the connection associated with that transaction. For transactions across multiple statements, use DatabaseConnection.
Author:
AO Industries, Inc.
See Also: