|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DB | |
org.apache.torque | |
org.apache.torque.adapter | Adapters between Torque and various databases. |
org.apache.torque.avalon | Avalon component implementation. |
org.apache.torque.oid | The ID broker, an API to provide persistent object identifiers, as described by Scott Ambler's paper on "Enterprise-Ready Object IDs". |
org.apache.torque.util | Misc. |
Uses of DB in org.apache.torque |
Methods in org.apache.torque that return DB | |
static DB |
Torque.getDB(java.lang.String name)
Returns database adapter for a specific connection pool. |
DB |
TorqueInstance.getDB(java.lang.String name)
Returns database adapter for a specific connection pool. |
Uses of DB in org.apache.torque.adapter |
Subclasses of DB in org.apache.torque.adapter | |
class |
DBAxion
This is used to connect to Hypersonic SQL databases. |
class |
DBCloudscape
This is used to connect to Cloudscape SQL databases. |
class |
DBDB2400
Torque Database Adapter for DB2/400 on the IBM AS400 platform. |
class |
DBDB2App
This is used to connect via the Application-Driver to DB2 databases. |
class |
DBDB2Net
This is used to connect via the NET-Driver to DB2 databases. |
class |
DBHypersonicSQL
This is used to connect to Hypersonic SQL databases. |
class |
DBInformix
This code should be used for an Informix database pool. |
class |
DBInstantDB
This is used to connect to InstantDB databases. |
class |
DBInterbase
This code should be used for an Interbase database pool. |
class |
DBMM
This is used in order to connect to a MySQL database using the MM drivers. |
class |
DBMSSQL
This is used to connect to a MSSQL database. |
class |
DBNone
This DatabaseHandler is used when you do not have a database installed. |
class |
DBOdbc
This is used to connect to ODBC Bridged databases on Win32 Platforms. |
class |
DBOracle
This code should be used for an Oracle database pool. |
class |
DBPostgres
This is used to connect to PostgresQL databases. |
class |
DBSapDB
This is used to connect to SapDB databases. |
class |
DBSybase
This is used to connect to a Sybase database using Sybase's JConnect JDBC driver. |
class |
DBWeblogic
This code should be used for a Weblogic database pool. |
Methods in org.apache.torque.adapter that return DB | |
static DB |
DBFactory.create(java.lang.String driver)
Creates a new instance of the Torque database adapter associated with the specified JDBC driver or adapter key. |
Uses of DB in org.apache.torque.avalon |
Methods in org.apache.torque.avalon that return DB | |
DB |
TorqueComponent.getDB(java.lang.String name)
Returns database adapter for a specific connection pool. |
Uses of DB in org.apache.torque.oid |
Fields in org.apache.torque.oid declared as DB | |
private DB |
AutoIncrementIdGenerator.dbAdapter
the adapter that knows the correct sql syntax |
private DB |
SequenceIdGenerator.dbAdapter
the adapter that knows the correct sql syntax |
Methods in org.apache.torque.oid with parameters of type DB | |
static IdGenerator |
IDGeneratorFactory.create(DB dbAdapter)
Factory method which instantiates IdGenerator implementations based on the
return value of the provided adapter's getIDMethodType() method. |
Constructors in org.apache.torque.oid with parameters of type DB | |
AutoIncrementIdGenerator(DB adapter)
Creates an IdGenerator which will work with the specified database. |
|
SequenceIdGenerator(DB adapter)
Creates an IdGenerator which will work with the specified database. |
Uses of DB in org.apache.torque.util |
Fields in org.apache.torque.util declared as DB | |
private DB |
Criteria.Criterion.db
The DB adaptor which might be used to get db specific variations of sql. |
Methods in org.apache.torque.util that return DB | |
DB |
Criteria.Criterion.getDb()
Get the value of db. |
Methods in org.apache.torque.util with parameters of type DB | |
static java.lang.String |
SqlExpression.buildInnerJoin(java.lang.String column,
java.lang.String relatedColumn,
boolean ignoreCase,
DB db)
Used to specify a join on two columns. |
static void |
SqlExpression.buildInnerJoin(java.lang.String column,
java.lang.String relatedColumn,
boolean ignoreCase,
DB db,
java.lang.StringBuffer whereClause)
Used to specify a join on two columns. |
static java.lang.String |
SqlExpression.build(java.lang.String columnName,
java.lang.Object criteria,
SqlEnum comparison,
boolean ignoreCase,
DB db)
Builds a simple SQL expression. |
static void |
SqlExpression.build(java.lang.String columnName,
java.lang.Object criteria,
SqlEnum comparison,
boolean ignoreCase,
DB db,
java.lang.StringBuffer whereClause)
Builds a simple SQL expression. |
(package private) static java.lang.String |
SqlExpression.buildLike(java.lang.String columnName,
java.lang.String criteria,
SqlEnum comparison,
boolean ignoreCase,
DB db)
Takes a columnName and criteria and builds an SQL phrase based on whether wildcards are present and the state of the ignoreCase flag. |
(package private) static void |
SqlExpression.buildLike(java.lang.String columnName,
java.lang.String criteria,
SqlEnum comparison,
boolean ignoreCase,
DB db,
java.lang.StringBuffer whereClause)
Takes a columnName and criteria and builds an SQL phrase based on whether wildcards are present and the state of the ignoreCase flag. |
(package private) static java.lang.String |
SqlExpression.buildIn(java.lang.String columnName,
java.lang.Object criteria,
SqlEnum comparison,
boolean ignoreCase,
DB db)
Takes a columnName and criteria (which must be an array) and builds a SQL 'IN' expression taking into account the ignoreCase flag. |
(package private) static void |
SqlExpression.buildIn(java.lang.String columnName,
java.lang.Object criteria,
SqlEnum comparison,
boolean ignoreCase,
DB db,
java.lang.StringBuffer whereClause)
Takes a columnName and criteria (which must be an array) and builds a SQL 'IN' expression taking into account the ignoreCase flag. |
(package private) static java.lang.String |
SqlExpression.processInValue(java.lang.Object value,
boolean ignoreCase,
DB db)
Creates an appropriate string for an 'IN' clause from an object. |
static java.lang.String |
SqlExpression.quoteAndEscapeText(java.lang.String rawText,
DB db)
Quotes and escapes raw text for placement in a SQL expression. |
void |
Criteria.Criterion.setDB(DB v)
Set the value of db. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |