Package | Description |
---|---|
org.apache.openjpa.jdbc.conf |
OpenJPA-JDBC Configuration
This package provides JDBC configuration interfaces.
|
org.apache.openjpa.jdbc.kernel |
OpenJPA-JDBC Runtime Kernel
Runtime services for the JDBC OpenJPA implementation.
|
org.apache.openjpa.jdbc.meta |
OpenJPA-JDBC ORM Metadata
This package extends the standard persistence metadata with
object-relational mapping information.
|
org.apache.openjpa.jdbc.meta.strats |
OpenJPA-JDBC ORM Strategies
Library of mapping strategies.
|
org.apache.openjpa.jdbc.schema |
OpenJPA-JDBC Schema Management
This package provides utilities for managing the schema of
persistent objects stored in a relational database.
|
org.apache.openjpa.jdbc.sql |
OpenJPA-JDBC SQL Abstraction
Utilities for generating SQL.
|
Modifier and Type | Method and Description |
---|---|
DBDictionary |
JDBCConfigurationImpl.getDBDictionaryInstance() |
DBDictionary |
JDBCConfiguration.getDBDictionaryInstance()
The
DBDictionary to use. |
Modifier and Type | Method and Description |
---|---|
void |
JDBCConfigurationImpl.setDBDictionary(DBDictionary dbdictionary) |
void |
JDBCConfiguration.setDBDictionary(DBDictionary dbdictionary)
The
DBDictionary to use. |
Modifier and Type | Field and Description |
---|---|
protected DBDictionary |
PreparedStatementManagerImpl._dict |
protected DBDictionary |
AbstractUpdateManager.dict |
Modifier and Type | Method and Description |
---|---|
DBDictionary |
JDBCStoreManager.getDBDictionary() |
DBDictionary |
JDBCStore.getDBDictionary()
Return the dictionary in use.
|
DBDictionary |
StoredProcedureQuery.getDictionary() |
Modifier and Type | Method and Description |
---|---|
protected List<SQLBuffer> |
PessimisticLockManager.getLockRows(DBDictionary dict,
Object id,
ClassMapping mapping,
JDBCFetchConfiguration fetch,
SQLFactory factory) |
protected List<SQLBuffer> |
MixedLockManager.getLockRows(DBDictionary dict,
Object id,
ClassMapping mapping,
JDBCFetchConfiguration fetch,
SQLFactory factory) |
protected long |
TableJDBCSeq.getSequence(ResultSet rs,
DBDictionary dict)
This method is to provide override for non-JDBC or JDBC-like
implementation of getting sequence from the result set.
|
protected void |
PessimisticLockManager.lockJoinTables(List<SQLBuffer> sqls,
DBDictionary dict,
Object id,
ClassMapping mapping,
JDBCFetchConfiguration fetch,
SQLFactory factory) |
Modifier and Type | Field and Description |
---|---|
protected DBDictionary |
MappingDefaultsImpl.dict |
Modifier and Type | Method and Description |
---|---|
DBDictionary |
MappingRepository.getDBDictionary()
Convenient access to dictionary for mappings.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
ContainerFieldStrategy.appendJoinCount(SQLBuffer sql,
Select sel,
Joins joins,
DBDictionary dict,
FieldMapping field,
ForeignKey fk) |
static void |
ContainerFieldStrategy.appendUnaliasedJoin(SQLBuffer sql,
Select sel,
Joins joins,
DBDictionary dict,
FieldMapping field,
ForeignKey fk) |
String |
StateComparisonVersionStrategy.CustomUpdate.getSQL(DBDictionary dict)
Return a boolean SQL expression that should be added to the
WHERE clause of an UPDATE to test whether the current database
record matches our stored version.
|
protected void |
MaxEmbeddedByteArrayFieldStrategy.putData(OpenJPAStateManager sm,
ResultSet rs,
DBDictionary dict) |
protected void |
MaxEmbeddedBlobFieldStrategy.putData(OpenJPAStateManager sm,
ResultSet rs,
DBDictionary dict) |
protected void |
MaxEmbeddedCharArrayFieldStrategy.putData(OpenJPAStateManager sm,
ResultSet rs,
DBDictionary dict) |
protected void |
MaxEmbeddedClobFieldStrategy.putData(OpenJPAStateManager sm,
ResultSet rs,
DBDictionary dict) |
Modifier and Type | Field and Description |
---|---|
protected DBDictionary |
SchemaTool._dict |
Modifier and Type | Method and Description |
---|---|
boolean |
Table.containsColumn(DBIdentifier name,
DBDictionary dict) |
boolean |
Table.containsColumn(String name,
DBDictionary dict)
Deprecated.
|
boolean |
Column.equalsColumn(DBDictionary dict,
Column col)
Tests compatibility.
|
void |
DriverDataSource.initDBDictionary(DBDictionary dict)
Initialize self and dictionary once available.
|
void |
SimpleDriverDataSource.initDBDictionary(DBDictionary dict) |
static DecoratingDataSource |
DataSourceFactory.installDBDictionary(DBDictionary dict,
DecoratingDataSource ds,
JDBCConfiguration conf,
boolean factory2)
Install things deferred until the DBDictionary instance is available.
|
DBIdentifier |
ForeignKey.loadIdentifierFromDB(DBDictionary dbdict,
Connection conn) |
String |
ForeignKey.loadNameFromDB(DBDictionary dbdict,
Connection conn)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDB2Dictionary
Base dictionary for the IBM DB2 family of databases.
|
class |
AbstractSQLServerDictionary
Dictionary for the SQL Server databases (Sybase and MS SQL Server).
|
class |
AccessDictionary
Dictionary for Access via DataDirect SequeLink and DataDirect ODBC
FoxPro driver.
|
class |
CacheDictionary
Dictionary for Intersystems Cache.
|
class |
DB2Dictionary
Dictionary for IBM DB2 database.
|
class |
DerbyDictionary
Dictionary for Apache Derby (formerly Cloudscape).
|
class |
EmpressDictionary
Dictionary for Empress using ODBC server combined with their
type 2 driver.
|
class |
FirebirdDictionary
Dictionary for Firebird.
|
class |
FoxProDictionary
Dictionary for Visual FoxPro via DataDirect SequeLink
and DataDirect ODBC FoxPro driver.
|
class |
H2Dictionary
Dictionary for H2 (
http://www.h2database.com ). |
class |
HSQLDictionary
Dictionary for HyperSQL (HSQLDB) database.
|
class |
InformixDictionary
Dictionary for Informix database.
|
class |
IngresDictionary |
class |
InterbaseDictionary
Dictionary for Borland Interbase.
|
class |
JDataStoreDictionary
Dictionary for Borland JDataStore
|
class |
MariaDBDictionary |
class |
MaxDBDictionary
Database dictionary for using SAP's MaxDB.
|
class |
MySQLDictionary
Dictionary for MySQL.
|
class |
OracleDictionary
Dictionary for Oracle.
|
class |
PointbaseDictionary
Dictionary for Pointbase Embedded.
|
class |
PostgresDictionary
Dictionary for PostgreSQL.
|
class |
SolidDBDictionary
Dictionary for SolidDB database.
|
class |
SQLServerDictionary
Dictionary for Microsoft SQL Server.
|
class |
SybaseDictionary
Dictionary for Sybase.
|
Modifier and Type | Field and Description |
---|---|
protected DBDictionary |
SelectImpl.Selects._dict |
protected DBDictionary |
LogicalUnion.dict |
Modifier and Type | Method and Description |
---|---|
static DBDictionary |
DBDictionaryFactory.calculateDBDictionary(JDBCConfiguration conf,
String url,
String driver,
String props)
Attempt to create the dictionary from the given connection URL and
driver name, either or both of which may be null.
|
DBDictionary |
ResultSetResult.getDBDictionary()
Return the dictionary in use.
|
DBDictionary |
LogicalUnion.getDBDictionary() |
DBDictionary |
Select.getDictionary() |
DBDictionary |
SelectImpl.getDictionary() |
DBDictionary |
LogicalUnion.UnionSelect.getDictionary() |
static DBDictionary |
DBDictionaryFactory.newDBDictionary(JDBCConfiguration conf,
DataSource ds,
String props)
Create the dictionary using connection metadata to determine its type.
|
static DBDictionary |
DBDictionaryFactory.newDBDictionary(JDBCConfiguration conf,
String dclass,
String props)
Create the dictionary for the given class name and properties.
|
Modifier and Type | Method and Description |
---|---|
void |
RowImpl.flush(PreparedStatement stmnt,
DBDictionary dict,
JDBCStore store)
Flush the row's values to the given prepared statement.
|
void |
RowImpl.flush(PreparedStatement stmnt,
int idx,
DBDictionary dict,
JDBCStore store)
Flush the row's values to the given prepared statement.
|
protected String |
SecondaryRow.generateSQL(DBDictionary dict) |
protected String |
RowImpl.generateSQL(DBDictionary dict)
Generate the SQL for this row; the result of this method is cached.
|
protected String |
PrimaryRow.generateSQL(DBDictionary dict) |
String |
RowImpl.getSQL(DBDictionary dict)
Return the SQL for the operation on this row.
|
static OpenJPAException |
SQLExceptions.getStore(Localizer.Message msg,
SQLException se,
DBDictionary dict)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(Localizer.Message msg,
SQLException se,
DBDictionary dict,
int level)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(SQLException se,
DBDictionary dict)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(SQLException se,
DBDictionary dict,
int level)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(SQLException se,
Object failed,
DBDictionary dict)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(SQLException se,
Object failed,
DBDictionary dict,
int level)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(String msg,
SQLException se,
DBDictionary dict)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(String msg,
SQLException se,
DBDictionary dict,
int level)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(String msg,
SQLException se,
Object failed,
DBDictionary dict)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(String msg,
SQLException se,
Object failed,
DBDictionary dict,
int level)
Convert the specified exception into a
StoreException . |
void |
SQLErrorCodeReader.parse(InputStream in,
String dictName,
DBDictionary dict)
Parses given stream of XML content for error codes of the given database
dictionary name.
|
Constructor and Description |
---|
ResultSetResult(Connection conn,
ResultSet rs,
DBDictionary dict)
Constructor.
|
ResultSetResult(Connection conn,
Statement stmnt,
ResultSet rs,
DBDictionary dict)
Constructor.
|
ResultSetResult(ResultSet rs,
DBDictionary dict)
JDBC 2 constructor.
|
SelectResult(Connection conn,
Statement stmnt,
ResultSet rs,
DBDictionary dict)
Constructor.
|
SQLBuffer(DBDictionary dict)
Default constructor.
|
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.