Uses of Class
org.apache.openjpa.jdbc.sql.DBDictionary
-
Packages that use DBDictionary Package Description org.apache.openjpa.jdbc.conf OpenJPA-JDBC Configurationorg.apache.openjpa.jdbc.kernel OpenJPA-JDBC Runtime Kernelorg.apache.openjpa.jdbc.meta OpenJPA-JDBC ORM Metadataorg.apache.openjpa.jdbc.meta.strats OpenJPA-JDBC ORM Strategiesorg.apache.openjpa.jdbc.schema OpenJPA-JDBC Schema Managementorg.apache.openjpa.jdbc.sql OpenJPA-JDBC SQL Abstraction -
-
Uses of DBDictionary in org.apache.openjpa.jdbc.conf
Methods in org.apache.openjpa.jdbc.conf that return DBDictionary Modifier and Type Method Description DBDictionary
JDBCConfiguration. getDBDictionaryInstance()
TheDBDictionary
to use.DBDictionary
JDBCConfigurationImpl. getDBDictionaryInstance()
Methods in org.apache.openjpa.jdbc.conf with parameters of type DBDictionary Modifier and Type Method Description void
JDBCConfiguration. setDBDictionary(DBDictionary dbdictionary)
TheDBDictionary
to use.void
JDBCConfigurationImpl. setDBDictionary(DBDictionary dbdictionary)
-
Uses of DBDictionary in org.apache.openjpa.jdbc.kernel
Fields in org.apache.openjpa.jdbc.kernel declared as DBDictionary Modifier and Type Field Description protected DBDictionary
PreparedStatementManagerImpl. _dict
protected DBDictionary
AbstractUpdateManager. dict
Methods in org.apache.openjpa.jdbc.kernel that return DBDictionary Modifier and Type Method Description DBDictionary
JDBCStore. getDBDictionary()
Return the dictionary in use.DBDictionary
JDBCStoreManager. getDBDictionary()
DBDictionary
StoredProcedureQuery. getDictionary()
Methods in org.apache.openjpa.jdbc.kernel with parameters of type DBDictionary Modifier and Type Method Description protected java.util.List<SQLBuffer>
MixedLockManager. getLockRows(DBDictionary dict, java.lang.Object id, ClassMapping mapping, JDBCFetchConfiguration fetch, SQLFactory factory)
protected java.util.List<SQLBuffer>
PessimisticLockManager. getLockRows(DBDictionary dict, java.lang.Object id, ClassMapping mapping, JDBCFetchConfiguration fetch, SQLFactory factory)
protected long
TableJDBCSeq. getSequence(java.sql.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(java.util.List<SQLBuffer> sqls, DBDictionary dict, java.lang.Object id, ClassMapping mapping, JDBCFetchConfiguration fetch, SQLFactory factory)
-
Uses of DBDictionary in org.apache.openjpa.jdbc.meta
Fields in org.apache.openjpa.jdbc.meta declared as DBDictionary Modifier and Type Field Description protected DBDictionary
MappingDefaultsImpl. dict
Methods in org.apache.openjpa.jdbc.meta that return DBDictionary Modifier and Type Method Description DBDictionary
MappingRepository. getDBDictionary()
Convenient access to dictionary for mappings. -
Uses of DBDictionary in org.apache.openjpa.jdbc.meta.strats
Methods in org.apache.openjpa.jdbc.meta.strats with parameters of type DBDictionary Modifier and Type Method 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)
java.lang.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
MaxEmbeddedBlobFieldStrategy. putData(OpenJPAStateManager sm, java.sql.ResultSet rs, DBDictionary dict)
protected void
MaxEmbeddedByteArrayFieldStrategy. putData(OpenJPAStateManager sm, java.sql.ResultSet rs, DBDictionary dict)
protected void
MaxEmbeddedCharArrayFieldStrategy. putData(OpenJPAStateManager sm, java.sql.ResultSet rs, DBDictionary dict)
protected void
MaxEmbeddedClobFieldStrategy. putData(OpenJPAStateManager sm, java.sql.ResultSet rs, DBDictionary dict)
-
Uses of DBDictionary in org.apache.openjpa.jdbc.schema
Fields in org.apache.openjpa.jdbc.schema declared as DBDictionary Modifier and Type Field Description protected DBDictionary
SchemaTool. _dict
Methods in org.apache.openjpa.jdbc.schema with parameters of type DBDictionary Modifier and Type Method Description boolean
Table. containsColumn(java.lang.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.DBIdentifier
ForeignKey. loadIdentifierFromDB(DBDictionary dbdict, java.sql.Connection conn)
java.lang.String
ForeignKey. loadNameFromDB(DBDictionary dbdict, java.sql.Connection conn)
Deprecated. -
Uses of DBDictionary in org.apache.openjpa.jdbc.sql
Subclasses of DBDictionary in org.apache.openjpa.jdbc.sql Modifier and Type Class 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 ({@link http://www.h2database.com}).class
HerdDBDictionary
Dictionary for HerdDB.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 JDataStoreclass
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.Fields in org.apache.openjpa.jdbc.sql declared as DBDictionary Modifier and Type Field Description protected DBDictionary
SelectImpl.Selects. _dict
protected DBDictionary
LogicalUnion. dict
Methods in org.apache.openjpa.jdbc.sql that return DBDictionary Modifier and Type Method Description static DBDictionary
DBDictionaryFactory. calculateDBDictionary(JDBCConfiguration conf, java.lang.String url, java.lang.String driver, java.lang.String props)
Attempt to create the dictionary from the given connection URL and driver name, either or both of which may be null.DBDictionary
LogicalUnion. getDBDictionary()
DBDictionary
ResultSetResult. getDBDictionary()
Return the dictionary in use.DBDictionary
LogicalUnion.UnionSelect. getDictionary()
DBDictionary
Select. getDictionary()
DBDictionary
SelectImpl. getDictionary()
static DBDictionary
DBDictionaryFactory. newDBDictionary(JDBCConfiguration conf, java.lang.String dclass, java.lang.String props)
Create the dictionary for the given class name and properties.static DBDictionary
DBDictionaryFactory. newDBDictionary(JDBCConfiguration conf, javax.sql.DataSource ds, java.lang.String props)
Create the dictionary using connection metadata to determine its type.Methods in org.apache.openjpa.jdbc.sql with parameters of type DBDictionary Modifier and Type Method Description void
RowImpl. flush(java.sql.PreparedStatement stmnt, int idx, DBDictionary dict, JDBCStore store)
Flush the row's values to the given prepared statement.void
RowImpl. flush(java.sql.PreparedStatement stmnt, DBDictionary dict, JDBCStore store)
Flush the row's values to the given prepared statement.protected java.lang.String
PrimaryRow. generateSQL(DBDictionary dict)
protected java.lang.String
RowImpl. generateSQL(DBDictionary dict)
Generate the SQL for this row; the result of this method is cached.protected java.lang.String
SecondaryRow. generateSQL(DBDictionary dict)
java.lang.String
RowImpl. getSQL(DBDictionary dict)
Return the SQL for the operation on this row.static OpenJPAException
SQLExceptions. getStore(java.lang.String msg, java.sql.SQLException se, java.lang.Object failed, DBDictionary dict)
Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions. getStore(java.lang.String msg, java.sql.SQLException se, java.lang.Object failed, DBDictionary dict, int level)
Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions. getStore(java.lang.String msg, java.sql.SQLException se, DBDictionary dict)
Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions. getStore(java.lang.String msg, java.sql.SQLException se, DBDictionary dict, int level)
Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions. getStore(java.sql.SQLException se, java.lang.Object failed, DBDictionary dict)
Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions. getStore(java.sql.SQLException se, java.lang.Object failed, DBDictionary dict, int level)
Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions. getStore(java.sql.SQLException se, DBDictionary dict)
Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions. getStore(java.sql.SQLException se, DBDictionary dict, int level)
Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions. getStore(Localizer.Message msg, java.sql.SQLException se, DBDictionary dict)
Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions. getStore(Localizer.Message msg, java.sql.SQLException se, DBDictionary dict, int level)
Convert the specified exception into aStoreException
.void
SQLErrorCodeReader. parse(java.io.InputStream in, java.lang.String dictName, DBDictionary dict)
Parses given stream of XML content for error codes of the given database dictionary name.Constructors in org.apache.openjpa.jdbc.sql with parameters of type DBDictionary Constructor Description ResultSetResult(java.sql.Connection conn, java.sql.ResultSet rs, DBDictionary dict)
Constructor.ResultSetResult(java.sql.Connection conn, java.sql.Statement stmnt, java.sql.ResultSet rs, DBDictionary dict)
Constructor.ResultSetResult(java.sql.ResultSet rs, DBDictionary dict)
JDBC 2 constructor.SelectResult(java.sql.Connection conn, java.sql.Statement stmnt, java.sql.ResultSet rs, DBDictionary dict)
Constructor.SQLBuffer(DBDictionary dict)
Default constructor.
-