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()
           
protected abstract  DBConnection Database.getPooledDBConnection()
           
 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, Map<String,Object> args)
          Executes the query with the given arguments
 Vector<Dictionary<String,Object>> Query.execute(Map<String,Object> args, DBConnection dbc, int offset, int limit)
          Execute the query with the given arguments
abstract  void Table.findDuplicates(DBConnection c, Dictionary<String,Object> d)
          finds duplicates in the database, given a dictionary of data to insert/update
 int Query.insert(Map<String,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.getPooledDBConnection()
           
protected  DBConnection Database.makeDBConnection()
           
protected  DBConnection MsSqlDatabase.makeDBConnection()
           
 

Methods in org.makumba.db.makumba.sql with parameters of type DBConnection
 boolean TableManager.checkDuplicate(String[] fields, Object[] values, DBConnection dbc)
          return whether there was a duplicate entry for this multi-field combination when inserting the given data
 boolean TableManager.checkDuplicate(String fieldName, DBConnection dbc, Dictionary<String,Object> data)
          return whether there was a duplicate for this field when inserting the given data
 int TableManager.deleteFrom(DBConnection here, DBConnection source, boolean ignoreDbsv)
           
 void TableManager.deleteRecord(DBConnection dbc, Pointer uid)
           
 int SQLUpdate.execute(DBConnection dbc, Map<String,Object> args)
           
 Vector<Dictionary<String,Object>> Query.execute(Map<String,Object> args, DBConnection dbc, int offset, int limit)
           
 void TableManager.findDuplicates(DBConnection dbc, Dictionary<String,Object> d)
           
 int Query.insert(Map<String,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)
          Deprecated.