Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.makumba.db.makumba.DBConnection

Packages that use DBConnection
org.makumba.db.makumba |
org.makumba.db.makumba.sql | The generic SQL-92 implementation of the makumba database layer.

Uses of DBConnection in org.makumba.db.makumba

Subclasses of DBConnection in org.makumba.db.makumba
`(package private) class` | `ClosedDBConnection`
`class` | `DBConnectionWrapper` A wrapper for db connections, used to provide a temporary that holds a reference to a permanent DBConnection

Fields in org.makumba.db.makumba declared as DBConnection
`(package private) DBConnection` | `DBConnectionWrapper.wrapped`

Methods in org.makumba.db.makumba that return DBConnection
`DBConnection` | `Database.getDBConnection()`
`DBConnection` | `Database.getDBConnection(String dataSource)`
`static DBConnection` | `ClosedDBConnection.getInstance()`
`DBConnection` | `ClosedDBConnection.getWrapped()`
`DBConnection` | `DBConnectionWrapper.getWrapped()`
`protected abstract DBConnection` | `Database.makeDBConnection()`

Methods in org.makumba.db.makumba with parameters of type DBConnection
`void` | `Database.copyFrom(DBConnection c, String[] tables, DBConnection sourceDB, boolean ignoreDbsv)`
`void` | `Database.copyFrom(DBConnection c, String table, DBConnection sourceDB, boolean ignoreDbsv)`
`(package private) void` | `Table.copyFrom(DBConnection dest, Table source, DBConnection sourceDB, boolean ignoreDbsv)` TODO: makumba now supports query limitation (limit and offset). so this method (copyFrom) could run a number of queries per table (instead of one query per table), limited to say 100 records each so we don't have memory problems when the db is very big
`abstract int` | `Table.deleteFrom(DBConnection here, DBConnection source, boolean ignoreDbsv)` delete all the records created within the indicated database and return their number
`void` | `Database.deleteFrom(DBConnection c, String[] tables, DBConnection sourceDB, boolean ignoreDbsv)`
`void` | `Database.deleteFrom(DBConnection c, String table, DBConnection sourceDB, boolean ignoreDbsv)`
`int` | `Update.execute(DBConnection dbc, Object[] args)` Executes the query with the given arguments
`Vector<Dictionary<String,Object>>` | `Query.execute(Object[] args, DBConnection dbc, int offset, int limit)` Execute the query with the given arguments
`int` | `Query.insert(Object[] args, DBConnection dbc)`
`Pointer` | `Table.insertRecord(DBConnection c, Dictionary<String,Object> d)` insert a record, return the pointer to it
`abstract Pointer` | `Table.insertRecordImpl(DBConnection c, Dictionary<String,Object> d)`

Constructors in org.makumba.db.makumba with parameters of type DBConnection
`DBConnectionWrapper(DBConnection wrapped, String dataSource, TransactionProvider tp)`

Uses of DBConnection in org.makumba.db.makumba.sql

Subclasses of DBConnection in org.makumba.db.makumba.sql
`class` | `SQLDBConnection`

Methods in org.makumba.db.makumba.sql that return DBConnection
`protected DBConnection` | `Database.makeDBConnection()`
`protected DBConnection` | `MsSqlDatabase.makeDBConnection()`

Methods in org.makumba.db.makumba.sql with parameters of type DBConnection
`int` | `TableManager.deleteFrom(DBConnection here, DBConnection source, boolean ignoreDbsv)`
`void` | `TableManager.deleteRecord(DBConnection dbc, Pointer uid)`
`int` | `SQLUpdate.execute(DBConnection dbc, Object[] args)`
`Vector<Dictionary<String,Object>>` | `Query.execute(Object[] args, DBConnection dbc, int offset, int limit)`
`int` | `Query.insert(Object[] args, DBConnection dbc)`
`Pointer` | `TableManager.insertRecordImpl(DBConnection dbc, Dictionary<String,Object> d)`
`(package private) static void` | `Database.logException(SQLException e, DBConnection dbc)`
`(package private) static void` | `Database.logException(SQLException e, DBConnection dbc, Level lev)`
`void` | `TableManager.updateRecord(DBConnection dbc, Pointer uid, Dictionary<String,Object> d)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Docs generated on 2009-02-25 14:20