Verwendungen von Schnittstelle
org.apache.torque.adapter.Adapter
Packages, die Adapter verwenden
Package
Beschreibung
Torque is an object-relational mapper for Java.
Adapters between Torque and various databases.
Avalon component
implementation.
The ID broker, an API to provide persistent
object identifiers,
as described by Scott Ambler's paper on "Enterprise-Ready Object
IDs".
This package contains classes which can build
PreparedStatementParts from a single value or column.
This package contains classes which can build
PreparedStatementParts from a WhereClauseExpression.
-
Verwendungen von Adapter in org.apache.torque
Methoden in org.apache.torque, die Adapter zurückgebenModifizierer und TypMethodeBeschreibungDatabase.getAdapter()
Returns the adapter to this database.static Adapter
Torque.getAdapter
(String name) Returns the database adapter for a specific database name.TorqueInstance.getAdapter
(String name) Returns the database adapter for a specific database.Methoden in org.apache.torque mit Parametern vom Typ AdapterModifizierer und TypMethodeBeschreibungvoid
Database.setAdapter
(Adapter anAdapter) Sets the adapter for this database. -
Verwendungen von Adapter in org.apache.torque.adapter
Klassen in org.apache.torque.adapter, die Adapter implementierenModifizierer und TypKlasseBeschreibungclass
This class is the abstract base for any database adapter Support for new databases is added by subclassing this class and implementing its abstract methods, and by registering the new database adapter and its corresponding JDBC driver in the service configuration file.class
This is used to connect to an embedded Apache Derby Database using the supplied JDBC driver.class
This is used to connect to Hsqldb databases.class
This is used to connect to a MSSQL database.class
This is used in order to connect to a MySQL database using the MM drivers.class
This DatabaseHandler is used when you do not have a database installed.class
This code should be used for an Oracle database pool.class
This is used to connect to PostgresQL databases.Methoden in org.apache.torque.adapter, die Adapter zurückgebenModifizierer und TypMethodeBeschreibungstatic Adapter
AdapterFactory.autoDetectAdapter
(Connection con) Creates a new instance of the Torque database adapter based on the JDBC meta-datastatic Adapter
Creates a new instance of the Torque database adapter associated with the specified JDBC driver or adapter key.static Adapter
Creates a new instance of the Torque database adapter associated with the specified JDBC driver or adapter key and the class defined.Methoden in org.apache.torque.adapter mit Parametern vom Typ AdapterModifizierer und TypMethodeBeschreibungstatic void
AdapterFactory.setCapabilities
(Connection con, Adapter adapter) Update static capabilities of the Torque database adapter with actual readings based on the JDBC meta-data -
Verwendungen von Adapter in org.apache.torque.avalon
Methoden in org.apache.torque.avalon, die Adapter zurückgebenModifizierer und TypMethodeBeschreibungTorque.getAdapter
(String name) Returns database adapter for a specific connection pool. -
Verwendungen von Adapter in org.apache.torque.oid
Felder in org.apache.torque.oid, die deklariert sind als AdapterModifizierer und TypFeldBeschreibungprotected Adapter
AbstractIdGenerator.adapter
The adapter that knows the correct sql syntaxMethoden in org.apache.torque.oid mit Parametern vom Typ AdapterModifizierer und TypMethodeBeschreibungstatic IdGenerator
Factory method which instantiatesIdGenerator
implementations based on the return value of the provided adapter'sgetIDMethodType()
method.Konstruktoren in org.apache.torque.oid mit Parametern vom Typ AdapterModifiziererKonstruktorBeschreibungAbstractIdGenerator
(Adapter adapter, String databaseName) Creates an IdGenerator which will work with the specified database.AutoIncrementIdGenerator
(Adapter adapter, String databaseName) Creates an IdGenerator which will work with the specified database.SequenceIdGenerator
(Adapter adapter, String databaseName) Creates an IdGenerator which will work with the specified database. -
Verwendungen von Adapter in org.apache.torque.sql.objectbuilder
Methoden in org.apache.torque.sql.objectbuilder mit Parametern vom Typ Adapter -
Verwendungen von Adapter in org.apache.torque.sql.whereclausebuilder
Methoden in org.apache.torque.sql.whereclausebuilder mit Parametern vom Typ AdapterModifizierer und TypMethodeBeschreibungCurrentDateTimePsPartBuilder.buildPs
(WhereClauseExpression whereClauseExpression, boolean ignoreCase, Query query, Adapter adapter) Builds a PreparedStatementPart from a WhereClauseExpression.EnumValueBuilder.buildPs
(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter) Takes a WhereClauseExpression containing a enum object and unwraps the enum value.InBuilder.buildPs
(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter) Takes a columnName and criteria and builds a SQL 'IN' expression taking into account the ignoreCase flag.LikeBuilder.buildPs
(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter) Builds the PS part for a WhereClauseExpression with a LIKE operator.NullValueBuilder.buildPs
(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter) Builds a PreparedStatementPart from a WhereClauseExpression which rhs is null and which has one of the comparison opertator =, <>, or !StandardBuilder.buildPs
(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter) Builds a PreparedStatementPart from a WhereClauseExpression which RHS and LHS is a simple value.VerbatimSqlConditionBuilder.buildPs
(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter) Builds the PS part for a WhereClauseExpression with a verbatim SQL condition.WhereClausePsPartBuilder.buildPs
(WhereClauseExpression whereClauseExpression, boolean ignoreCase, Query query, Adapter adapter) Builds a PreparedStatementPart from a WhereClauseExpression.boolean
CurrentDateTimePsPartBuilder.isApplicable
(WhereClauseExpression whereClauseExpression, Adapter adapter) Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.boolean
EnumValueBuilder.isApplicable
(WhereClauseExpression whereClauseExpression, Adapter adapter) Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.boolean
InBuilder.isApplicable
(WhereClauseExpression whereClauseExpression, Adapter adapter) Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.boolean
LikeBuilder.isApplicable
(WhereClauseExpression whereClauseExpression, Adapter adapter) Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.boolean
NullValueBuilder.isApplicable
(WhereClauseExpression whereClauseExpression, Adapter adapter) Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.boolean
StandardBuilder.isApplicable
(WhereClauseExpression whereClauseExpression, Adapter adapter) Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.boolean
VerbatimSqlConditionBuilder.isApplicable
(WhereClauseExpression whereClauseExpression, Adapter adapter) Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.boolean
WhereClausePsPartBuilder.isApplicable
(WhereClauseExpression whereClauseExpression, Adapter adapter) Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.