Uses of Class
org.apache.openjpa.jdbc.sql.DBDictionary
Package
Description
OpenJPA-JDBC Configuration
OpenJPA-JDBC Runtime Kernel
OpenJPA-JDBC ORM Metadata
OpenJPA-JDBC ORM Strategies
OpenJPA-JDBC Schema Management
OpenJPA-JDBC SQL Abstraction
-
Uses of DBDictionary in org.apache.openjpa.jdbc.conf
Modifier and TypeMethodDescriptionJDBCConfiguration.getDBDictionaryInstance()
TheDBDictionary
to use.JDBCConfigurationImpl.getDBDictionaryInstance()
Modifier and TypeMethodDescriptionvoid
JDBCConfiguration.setDBDictionary
(DBDictionary dbdictionary) TheDBDictionary
to use.void
JDBCConfigurationImpl.setDBDictionary
(DBDictionary dbdictionary) -
Uses of DBDictionary in org.apache.openjpa.jdbc.kernel
Modifier and TypeFieldDescriptionprotected final DBDictionary
PreparedStatementManagerImpl._dict
protected DBDictionary
AbstractUpdateManager.dict
Modifier and TypeMethodDescriptionJDBCStore.getDBDictionary()
Return the dictionary in use.JDBCStoreManager.getDBDictionary()
StoredProcedureQuery.getDictionary()
Modifier and TypeMethodDescriptionMixedLockManager.getLockRows
(DBDictionary dict, Object id, ClassMapping mapping, JDBCFetchConfiguration fetch, SQLFactory factory) PessimisticLockManager.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) -
Uses of DBDictionary in org.apache.openjpa.jdbc.meta
Modifier and TypeMethodDescriptionMappingRepository.getDBDictionary()
Convenient access to dictionary for mappings. -
Uses of DBDictionary in org.apache.openjpa.jdbc.meta.strats
Modifier and TypeMethodDescriptionprotected 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) 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
MaxEmbeddedBlobFieldStrategy.putData
(OpenJPAStateManager sm, ResultSet rs, DBDictionary dict) protected void
MaxEmbeddedByteArrayFieldStrategy.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) -
Uses of DBDictionary in org.apache.openjpa.jdbc.schema
Modifier and TypeMethodDescriptionboolean
Table.containsColumn
(String name, DBDictionary dict) Deprecated.boolean
Table.containsColumn
(DBIdentifier name, DBDictionary dict) 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.ForeignKey.loadIdentifierFromDB
(DBDictionary dbdict, Connection conn) ForeignKey.loadNameFromDB
(DBDictionary dbdict, Connection conn) Deprecated. -
Uses of DBDictionary in org.apache.openjpa.jdbc.sql
Modifier and TypeClassDescriptionclass
Base dictionary for the IBM DB2 family of databases.class
Dictionary for the SQL Server databases (Sybase and MS SQL Server).class
Dictionary for Access via DataDirect SequeLink and DataDirect ODBC FoxPro driver.class
Dictionary for Intersystems Cache.class
Dictionary for IBM DB2 database.class
Dictionary for Apache Derby (formerly Cloudscape).class
Dictionary for Empress using ODBC server combined with their type 2 driver.class
Dictionary for Firebird.class
Dictionary for Visual FoxPro via DataDirect SequeLink and DataDirect ODBC FoxPro driver.class
Dictionary for H2 ({@link http://www.h2database.com}).class
Dictionary for HerdDB.class
Dictionary for HyperSQL (HSQLDB) database.class
Dictionary for Informix database.class
class
Dictionary for Borland Interbase.class
Dictionary for Borland JDataStoreclass
class
Database dictionary for using SAP's MaxDB.class
Dictionary for MySQL.class
Dictionary for Oracle.class
Dictionary for Pointbase Embedded.class
Dictionary for PostgreSQL.class
Dictionary for SolidDB database.class
Dictionary for Microsoft SQL Server.class
Dictionary for Sybase.Modifier and TypeFieldDescriptionprotected DBDictionary
SelectImpl.Selects._dict
protected final DBDictionary
LogicalUnion.dict
Modifier and TypeMethodDescriptionstatic 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.LogicalUnion.getDBDictionary()
ResultSetResult.getDBDictionary()
Return the dictionary in use.LogicalUnion.UnionSelect.getDictionary()
Select.getDictionary()
SelectImpl.getDictionary()
static DBDictionary
DBDictionaryFactory.newDBDictionary
(JDBCConfiguration conf, String dclass, String props) Create the dictionary for the given class name and properties.static DBDictionary
DBDictionaryFactory.newDBDictionary
(JDBCConfiguration conf, DataSource ds, String props) Create the dictionary using connection metadata to determine its type.Modifier and TypeMethodDescriptionvoid
RowImpl.flush
(PreparedStatement stmnt, int idx, DBDictionary dict, JDBCStore store) Flush the row's values to the given prepared statement.void
RowImpl.flush
(PreparedStatement stmnt, DBDictionary dict, JDBCStore store) Flush the row's values to the given prepared statement.protected String
PrimaryRow.generateSQL
(DBDictionary dict) protected String
RowImpl.generateSQL
(DBDictionary dict) Generate the SQL for this row; the result of this method is cached.protected String
SecondaryRow.generateSQL
(DBDictionary dict) RowImpl.getSQL
(DBDictionary dict) Return the SQL for the operation on this row.static OpenJPAException
SQLExceptions.getStore
(String msg, SQLException se, Object failed, DBDictionary dict) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(String msg, SQLException se, Object failed, DBDictionary dict, int level) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(String msg, SQLException se, DBDictionary dict) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(String msg, SQLException se, DBDictionary dict, int level) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(SQLException se, Object failed, DBDictionary dict) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(SQLException se, Object failed, DBDictionary dict, int level) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(SQLException se, DBDictionary dict) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(SQLException se, DBDictionary dict, int level) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(Localizer.Message msg, SQLException se, DBDictionary dict) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(Localizer.Message msg, SQLException se, DBDictionary dict, int level) Convert the specified exception into aStoreException
.void
SQLErrorCodeReader.parse
(InputStream in, String dictName, DBDictionary dict) Parses given stream of XML content for error codes of the given database dictionary name.ModifierConstructorDescriptionResultSetResult
(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.