|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RDBMSAdapter
Adapter for relational databases.
| Field Summary | |
|---|---|
static java.lang.String |
ACCESS_PARENTQUERY_IN_SUBQUERY_JOINED
Whether this database supports joining outer and inner queries using columns. |
static java.lang.String |
ALTER_TABLE_DROP_CONSTRAINT_SYNTAX
Whether this datastore supports ALTER TABLE DROP constraints |
static java.lang.String |
ALTER_TABLE_DROP_FOREIGN_KEY_CONSTRAINT
Whether this datastore supports ALTER TABLE DROP FOREIGN KEY constraints |
static java.lang.String |
ANSI_CROSSJOIN_SYNTAX
Accessor for whether the RDBMS supports ANSI cross-join syntax. |
static java.lang.String |
ANSI_JOIN_SYNTAX
Accessor for whether the RDBMS supports ANSI join syntax. |
static java.lang.String |
AUTO_INCREMENT_COLUMN_TYPE_SPECIFICATION
Whether we support auto-increment/identity keys with column type specification. |
static java.lang.String |
AUTO_INCREMENT_KEYS_NULL_SPECIFICATION
Whether we support auto-increment/identity keys with nullability specification. |
static java.lang.String |
AUTO_INCREMENT_PK_IN_CREATE_TABLE_COLUMN_DEF
Whether this adapter requires any specification of primary key in the column definition of CREATE TABLE. |
static java.lang.String |
BLOB_SET_USING_SETSTRING
Accessor for whether setting a BLOB value allows use of PreparedStatement.setString() |
static java.lang.String |
CHAR_COLUMNS_PADDED_WITH_SPACES
Some databases store character strings in CHAR(XX) columns and when read back in have been padded with spaces. |
static java.lang.String |
CHECK_IN_CREATE_STATEMENTS
Whether this datastore supports the use of "CHECK" in CREATE TABLE statements (DDL). |
static java.lang.String |
CHECK_IN_END_CREATE_STATEMENTS
Whether this datastore supports the use of CHECK after the column definitions in the CREATE TABLE statements (DDL). |
static java.lang.String |
CLOB_SET_USING_SETSTRING
Accessor for whether setting a CLOB value allows use of PreparedStatement.setString() |
static java.lang.String |
CREATE_INDEXES_BEFORE_FOREIGN_KEYS
Whether to create indexes before foreign keys. |
static java.lang.String |
CROSSJOIN_ASINNER11_SYNTAX
Accessor for whether the RDBMS supports cross-join as "INNER 1=1" syntax. |
static java.lang.String |
DATETIME_STORES_MILLISECS
Whether DATETIME stores milliseconds. |
static java.lang.String |
DEFAULT_BEFORE_NULL_IN_COLUMN_OPTIONS
Whether any DEFAULT tag will be before any NULL/NOT NULL in the column options. |
static java.lang.String |
DEFAULT_KEYWORD_IN_COLUMN_OPTIONS
Whether we support DEFAULT tag in CREATE TABLE statements |
static java.lang.String |
DEFAULT_KEYWORD_WITH_NOT_NULL_IN_COLUMN_OPTIONS
Whether we support DEFAULT tag together with NOT NULL in CREATE TABLE statements. |
static java.lang.String |
DEFERRED_CONSTRAINTS
Whether this datastore supports deferred constraints. |
static java.lang.String |
DISTINCT_WITH_SELECT_FOR_UPDATE
Whether this datastore supports using DISTINCT when using SELECT ... |
static java.lang.String |
EXISTS_SYNTAX
Whether the RDBMS supports use of EXISTS syntax. |
static java.lang.String |
FK_DELETE_ACTION_CASCADE
|
static java.lang.String |
FK_DELETE_ACTION_DEFAULT
|
static java.lang.String |
FK_DELETE_ACTION_NULL
|
static java.lang.String |
FK_DELETE_ACTION_RESTRICT
|
static java.lang.String |
FK_IN_END_CREATE_STATEMENTS
Whether this datastore supports the use of FOREIGN KEY after the column definitions in CREATE TABLE statements (DDL). |
static java.lang.String |
FK_UPDATE_ACTION_CASCADE
|
static java.lang.String |
FK_UPDATE_ACTION_DEFAULT
|
static java.lang.String |
FK_UPDATE_ACTION_NULL
|
static java.lang.String |
FK_UPDATE_ACTION_RESTRICT
|
static java.lang.String |
GET_GENERATED_KEYS_STATEMENT
Whether the datastore supports "Statement.getGeneratedKeys". |
static java.lang.String |
INCLUDE_ORDERBY_COLS_IN_SELECT
Whether to include any ORDER BY columns in a SELECT. |
static java.lang.String |
LOCK_OPTION_PLACED_AFTER_FROM
Whether the lock option (when doing SELECT FOR UPDATE) is to be placed after the FROM. |
static java.lang.String |
LOCK_OPTION_PLACED_WITHIN_JOIN
Whether the lock option (when doing SELECT FOR UPDATE) is to be placed within the JOIN clause. |
static java.lang.String |
LOCK_WITH_SELECT_FOR_UPDATE
Whether this datastore supports SELECT ... |
static java.lang.String |
NULL_EQUALS_EMPTY_STRING
Some databases, Oracle, treats an empty string (0 length) equals null. |
static java.lang.String |
NULLS_IN_CANDIDATE_KEYS
Whether we support NULLs in candidate keys. |
static java.lang.String |
NULLS_KEYWORD_IN_COLUMN_OPTIONS
Whether the database support NULLs in the column options for table creation. |
static java.lang.String |
ORDERBY_USING_SELECT_COLUMN_INDEX
In SAPDB any orderby has to be using the index(es) of any SELECT column(s) rather than their name(s). |
static java.lang.String |
PERSIST_OF_UNASSIGNED_CHAR
Whether the database server supports persist of an unassigned character ("0x0"). |
static java.lang.String |
PRIMARYKEY_IN_CREATE_STATEMENTS
Whether the datastore supports specification of the primary key in CREATE TABLE statements. |
static java.lang.String |
STATEMENT_BATCHING
Whether this datastore supports batching of statements. |
static java.lang.String |
STORED_PROCEDURES
Whether this datastore supports stored procedures. |
static java.lang.String |
TX_ISOLATION_NONE
|
static java.lang.String |
TX_ISOLATION_READ_COMMITTED
|
static java.lang.String |
TX_ISOLATION_READ_UNCOMMITTED
|
static java.lang.String |
TX_ISOLATION_REPEATABLE_READ
|
static java.lang.String |
TX_ISOLATION_SERIALIZABLE
|
static java.lang.String |
UNION_SYNTAX
Whether the RDBMS supports UNION syntax. |
static java.lang.String |
UNIQUE_IN_END_CREATE_STATEMENTS
Whether this datastore supports the use of UNIQUE after the column definitions in CREATE TABLE statements (DDL). |
static java.lang.String |
UPDATE_MULTITABLE
Whether this datastore supports multiple table update statements. |
static java.lang.String |
USE_UNION_ALL
Union combines the results of two or more queries into a single result set. |
static java.lang.String |
VIEWS
Whether the RDBMS supports SQL VIEWs. |
| Fields inherited from interface org.datanucleus.store.mapped.DatastoreAdapter |
|---|
ANALYSIS_METHODS, BIT_IS_REALLY_BOOLEAN, BOOLEAN_COMPARISON, CATALOGS_IN_TABLE_DEFINITIONS, ESCAPE_EXPRESSION_IN_LIKE_PREDICATE, IDENTIFIERS_LOWERCASE, IDENTIFIERS_LOWERCASE_QUOTED, IDENTIFIERS_MIXEDCASE, IDENTIFIERS_MIXEDCASE_QUOTED, IDENTIFIERS_MIXEDCASE_QUOTED_SENSITIVE, IDENTIFIERS_MIXEDCASE_SENSITIVE, IDENTIFIERS_UPPERCASE, IDENTIFIERS_UPPERCASE_QUOTED, IDENTITY_COLUMNS, PROJECTION_IN_TABLE_REFERENCE_JOINS, SCHEMAS_IN_TABLE_DEFINITIONS, SEQUENCES |
| Method Summary | |
|---|---|
java.lang.String |
getAddCandidateKeyStatement(CandidateKey ck,
org.datanucleus.store.mapped.IdentifierFactory factory)
Returns the appropriate SQL to add a candidate key to its table. |
java.lang.String |
getAddColumnStatement(org.datanucleus.store.mapped.DatastoreContainerObject table,
Column col)
Accessor for the SQL statement to add a column to a table. |
java.lang.String |
getAddForeignKeyStatement(ForeignKey fk,
org.datanucleus.store.mapped.IdentifierFactory factory)
Returns the appropriate SQL to add a foreign key to its table. |
java.lang.String |
getAddPrimaryKeyStatement(PrimaryKey pk,
org.datanucleus.store.mapped.IdentifierFactory factory)
Returns the appropriate SQL to add a primary key to its table. |
java.lang.String |
getAutoIncrementKeyword()
Accessor for the auto-increment/identity keyword for generating DDLs. |
java.lang.String |
getAutoIncrementStmt(Table table,
java.lang.String columnName)
Accessor for the auto-increment/identity sql statement for this datastore. |
java.lang.String |
getCatalogName(java.sql.Connection conn)
Accessor for the Catalog Name for this datastore. |
java.lang.String |
getCheckConstraintForValues(org.datanucleus.store.mapped.DatastoreIdentifier identifier,
java.lang.Object[] values,
boolean nullable)
Creates a CHECK constraint definition based on the given values e.g. |
java.sql.ResultSet |
getColumns(java.sql.Connection conn,
java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
java.lang.String columnNamePattern)
Accessor for table and column information for a catalog/schema in this datastore. |
java.lang.String |
getCreateIndexStatement(Index idx,
org.datanucleus.store.mapped.IdentifierFactory factory)
Returns the appropriate SQL to add an index to its table. |
java.lang.String |
getCreateTableStatement(TableImpl table,
Column[] columns,
java.util.Properties props,
org.datanucleus.store.mapped.IdentifierFactory factory)
Returns the appropriate SQL to create the given table having the given columns. |
java.lang.String |
getDatastoreDateStatement()
Accessor for a statement that will return the statement to use to get the datastore date. |
java.lang.String |
getDeleteTableStatement(SQLTable tbl)
Method to return the basic SQL for a DELETE TABLE statement. |
java.lang.String |
getDropTableStatement(org.datanucleus.store.mapped.DatastoreContainerObject table)
Returns the appropriate SQL to drop the given table. |
java.lang.String |
getDropViewStatement(ViewImpl view)
Returns the appropriate SQL to drop the given view. |
java.sql.ResultSet |
getExistingIndexes(java.sql.Connection conn,
java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
Provide the existing indexes in the database for the table |
java.lang.String |
getInsertStatementForNoColumns(Table table)
Method to retutn the INSERT statement to use when inserting into a table that has no columns specified. |
java.lang.String |
getOrderString(org.datanucleus.store.StoreManager storeMgr,
java.lang.String orderString,
SQLExpression sqlExpr)
Convenience method to allow adaption of an ordering string before applying it. |
java.lang.String |
getRangeByLimitEndOfStatementClause(long offset,
long count)
Method to return the SQL to append to the end of the SELECT statement to handle restriction of ranges using the LIMIT keyword. |
java.lang.String |
getRangeByRowNumberColumn()
Method to return the column name to use when handling ranges via a rownumber on the select using the original method (DB2). |
java.lang.String |
getRangeByRowNumberColumn2()
Method to return the column name to use when handling ranges via a rownumber on the select using the second method (Oracle). |
int |
getRequiredTransactionIsolationLevel()
Accessor for the "required" transaction isolation level if it has to be a certain value for this adapter. |
java.lang.String |
getSchemaName(java.sql.Connection conn)
Accessor for the Schema Name for this datastore. |
java.lang.String |
getSelectNewUUIDStmt()
The function to creates a unique value of type uniqueidentifier. |
java.lang.String |
getSelectWithLockOption()
The option to specify in "SELECT ... |
java.lang.String |
getSequenceCreateStmt(java.lang.String sequence_name,
java.lang.Integer min,
java.lang.Integer max,
java.lang.Integer start,
java.lang.Integer increment,
java.lang.Integer cache_size)
Accessor for the sequence create statement for this datastore. |
java.lang.String |
getSequenceNextStmt(java.lang.String sequence_name)
Accessor for the sequence statement to get the next id for this datastore. |
java.lang.String |
getSurrogateForEmptyStrings()
Some databases, Oracle, treats an empty string (0 length) equals null |
int |
getTransactionIsolationForSchemaCreation()
Accessor for the transaction isolation level to use during schema creation. |
int |
getUnlimitedLengthPrecisionValue(SQLTypeInfo typeInfo)
Returns the precision value to be used when creating string columns of "unlimited" length. |
boolean |
isStatementCancel(java.sql.SQLException sqle)
return whether this exception represents a cancelled statement. |
boolean |
isStatementTimeout(java.sql.SQLException sqle)
return whether this exception represents a timed out statement. |
boolean |
isValidPrimaryKeyType(int datatype)
Method to return whether the specified JDBC type is valid for use in a PrimaryKey. |
java.util.Iterator |
iteratorReservedWords()
Iterator for the reserved words constructed from the method DataBaseMetaData.getSQLKeywords + standard SQL reserved words |
ForeignKeyInfo |
newFKInfo(java.sql.ResultSet rs)
Method to return ForeignKeyInfo for the current row of the ResultSet which will have been obtained from a call to DatabaseMetaData.getImportedKeys() or DatabaseMetaData.getExportedKeys(). |
RDBMSColumnInfo |
newRDBMSColumnInfo(java.sql.ResultSet rs)
Create a new column info from the current row of the passed ResultSet. |
SQLTypeInfo |
newSQLTypeInfo(java.sql.ResultSet rs)
Create a new SQL type info from the current row of the passed ResultSet. |
boolean |
supportsTransactionIsolation(int level)
Accessor for whether this database adapter supports the specified transaction isolation. |
boolean |
validToSelectMappingInStatement(SQLStatement stmt,
org.datanucleus.store.mapped.mapping.JavaTypeMapping m)
Method to return if it is valid to select the specified mapping for the specified statement for this datastore adapter. |
| Methods inherited from interface org.datanucleus.store.mapped.DatastoreAdapter |
|---|
getAdapterTime, getCatalogSeparator, getDatastoreDriverName, getDatastoreDriverVersion, getDatastoreIdentifierMaxLength, getDatastoreProductName, getDatastoreProductVersion, getIdentifierQuoteString, getMappingManager, getMaxForeignKeys, getMaxIndexes, getSupportedOptions, getVendorID, initialiseDatastore, initialiseTypes, isIdentityFieldDataType, isReservedKeyword, removeUnsupportedMappings, setProperties, supportsOption, supportsQueryFetchSize, toString |
| Field Detail |
|---|
static final java.lang.String VIEWS
static final java.lang.String UNION_SYNTAX
static final java.lang.String USE_UNION_ALL
static final java.lang.String EXISTS_SYNTAX
static final java.lang.String ALTER_TABLE_DROP_CONSTRAINT_SYNTAX
static final java.lang.String ALTER_TABLE_DROP_FOREIGN_KEY_CONSTRAINT
static final java.lang.String DEFERRED_CONSTRAINTS
static final java.lang.String DISTINCT_WITH_SELECT_FOR_UPDATE
static final java.lang.String PERSIST_OF_UNASSIGNED_CHAR
static final java.lang.String CHAR_COLUMNS_PADDED_WITH_SPACES
static final java.lang.String NULL_EQUALS_EMPTY_STRING
static final java.lang.String STATEMENT_BATCHING
static final java.lang.String CHECK_IN_CREATE_STATEMENTS
static final java.lang.String CHECK_IN_END_CREATE_STATEMENTS
CREATE TABLE MYTABLE
(
COL_A int,
COL_B char(1),
PRIMARY KEY (COL_A),
CHECK (COL_B IN ('Y','N'))
)
static final java.lang.String UNIQUE_IN_END_CREATE_STATEMENTS
CREATE TABLE MYTABLE
(
COL_A int,
COL_B char(1),
PRIMARY KEY (COL_A),
UNIQUE (COL_B ...)
)
static final java.lang.String FK_IN_END_CREATE_STATEMENTS
CREATE TABLE MYTABLE
(
COL_A int,
COL_B char(1),
FOREIGN KEY (COL_A) REFERENCES TBL2(COL_X)
)
static final java.lang.String PRIMARYKEY_IN_CREATE_STATEMENTS
static final java.lang.String GET_GENERATED_KEYS_STATEMENT
static final java.lang.String NULLS_IN_CANDIDATE_KEYS
static final java.lang.String NULLS_KEYWORD_IN_COLUMN_OPTIONS
static final java.lang.String DEFAULT_KEYWORD_IN_COLUMN_OPTIONS
static final java.lang.String DEFAULT_KEYWORD_WITH_NOT_NULL_IN_COLUMN_OPTIONS
CREATE TABLE X ( MEMORY_SIZE BIGINT DEFAULT 0 NOT NULL )Some databases only support DEFAULT {ConstantExpression | NULL}
static final java.lang.String DEFAULT_BEFORE_NULL_IN_COLUMN_OPTIONS
static final java.lang.String ANSI_JOIN_SYNTAX
static final java.lang.String ANSI_CROSSJOIN_SYNTAX
static final java.lang.String CROSSJOIN_ASINNER11_SYNTAX
static final java.lang.String AUTO_INCREMENT_KEYS_NULL_SPECIFICATION
static final java.lang.String AUTO_INCREMENT_COLUMN_TYPE_SPECIFICATION
static final java.lang.String AUTO_INCREMENT_PK_IN_CREATE_TABLE_COLUMN_DEF
static final java.lang.String LOCK_WITH_SELECT_FOR_UPDATE
static final java.lang.String LOCK_OPTION_PLACED_AFTER_FROM
static final java.lang.String LOCK_OPTION_PLACED_WITHIN_JOIN
static final java.lang.String BLOB_SET_USING_SETSTRING
static final java.lang.String CLOB_SET_USING_SETSTRING
static final java.lang.String CREATE_INDEXES_BEFORE_FOREIGN_KEYS
static final java.lang.String INCLUDE_ORDERBY_COLS_IN_SELECT
static final java.lang.String DATETIME_STORES_MILLISECS
static final java.lang.String ACCESS_PARENTQUERY_IN_SUBQUERY_JOINED
static final java.lang.String ORDERBY_USING_SELECT_COLUMN_INDEX
static final java.lang.String STORED_PROCEDURES
static final java.lang.String FK_UPDATE_ACTION_CASCADE
static final java.lang.String FK_UPDATE_ACTION_DEFAULT
static final java.lang.String FK_UPDATE_ACTION_NULL
static final java.lang.String FK_UPDATE_ACTION_RESTRICT
static final java.lang.String FK_DELETE_ACTION_CASCADE
static final java.lang.String FK_DELETE_ACTION_DEFAULT
static final java.lang.String FK_DELETE_ACTION_NULL
static final java.lang.String FK_DELETE_ACTION_RESTRICT
static final java.lang.String TX_ISOLATION_NONE
static final java.lang.String TX_ISOLATION_READ_COMMITTED
static final java.lang.String TX_ISOLATION_READ_UNCOMMITTED
static final java.lang.String TX_ISOLATION_REPEATABLE_READ
static final java.lang.String TX_ISOLATION_SERIALIZABLE
static final java.lang.String UPDATE_MULTITABLE
| Method Detail |
|---|
boolean supportsTransactionIsolation(int level)
level - The isolation level (as defined by Connection enums).
java.lang.String getRangeByLimitEndOfStatementClause(long offset,
long count)
offset - The offset to return fromcount - The number of items to return
java.lang.String getRangeByRowNumberColumn()
java.lang.String getRangeByRowNumberColumn2()
java.sql.ResultSet getColumns(java.sql.Connection conn,
java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
java.lang.String columnNamePattern)
throws java.sql.SQLException
conn - Connection to usecatalog - The catalog (null if none)schema - The schema (null if none)table - The table (null if all)columnNamePattern - The column name (null if all)
java.sql.SQLException - Thrown if an error occursjava.lang.String getInsertStatementForNoColumns(Table table)
table - The table
int getUnlimitedLengthPrecisionValue(SQLTypeInfo typeInfo)
typeInfo - the typeInfo object for which the precision value is needed.
java.lang.String getAutoIncrementStmt(Table table,
java.lang.String columnName)
table - Table (that the autoincrement is for)columnName - (that the autoincrement is for)
java.lang.String getAutoIncrementKeyword()
java.lang.String getDropTableStatement(org.datanucleus.store.mapped.DatastoreContainerObject table)
DROP TABLE FOO CASCADE
table - The table to drop.
java.lang.String getDeleteTableStatement(SQLTable tbl)
DELETE FROM tbl t1. Doesn't include any where clause.
tbl - The SQLTable to delete
java.lang.String getAddCandidateKeyStatement(CandidateKey ck,
org.datanucleus.store.mapped.IdentifierFactory factory)
ALTER TABLE FOO ADD CONSTRAINT FOO_CK UNIQUE (BAZ)
ck - An object describing the candidate key.factory - Identifier factory
boolean isValidPrimaryKeyType(int datatype)
datatype - The JDBC type.
java.lang.String getAddColumnStatement(org.datanucleus.store.mapped.DatastoreContainerObject table,
Column col)
table - The tablecol - The column
java.lang.String getCreateIndexStatement(Index idx,
org.datanucleus.store.mapped.IdentifierFactory factory)
CREATE INDEX FOO_N1 ON FOO (BAR,BAZ) CREATE UNIQUE INDEX FOO_U1 ON FOO (BAR,BAZ)
idx - An object describing the index.factory - Identifier factory
java.sql.ResultSet getExistingIndexes(java.sql.Connection conn,
java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
throws java.sql.SQLException
conn - the JDBC connectioncatalog - the catalog nameschema - the schema nametable - the table name
java.sql.SQLException
java.lang.String getCreateTableStatement(TableImpl table,
Column[] columns,
java.util.Properties props,
org.datanucleus.store.mapped.IdentifierFactory factory)
CREATE TABLE FOO (BAR VARCHAR(30), BAZ INTEGER)
table - The table to create.columns - The columns of the table.props - Properties for controlling the table creationfactory - Identifier factory
java.lang.String getAddPrimaryKeyStatement(PrimaryKey pk,
org.datanucleus.store.mapped.IdentifierFactory factory)
ALTER TABLE FOO ADD CONSTRAINT FOO_PK PRIMARY KEY (BAR)
pk - An object describing the primary key.factory - Identifier factory
java.lang.String getAddForeignKeyStatement(ForeignKey fk,
org.datanucleus.store.mapped.IdentifierFactory factory)
ALTER TABLE FOO ADD CONSTRAINT FOO_FK1 FOREIGN KEY (BAR, BAZ) REFERENCES ABC (COL1, COL2)
fk - An object describing the foreign key.factory - Identifier factory
java.lang.String getDropViewStatement(ViewImpl view)
DROP VIEW FOO
view - The view to drop.
java.lang.String getSurrogateForEmptyStrings()
int getTransactionIsolationForSchemaCreation()
int getRequiredTransactionIsolationLevel()
java.lang.String getCatalogName(java.sql.Connection conn)
throws java.sql.SQLException
conn - Connection to the datastore
java.sql.SQLException - Thrown if error occurs in determining the
catalog name.
java.lang.String getSchemaName(java.sql.Connection conn)
throws java.sql.SQLException
conn - Connection to the datastore
java.sql.SQLException - Thrown if error occurs in determining the
schema name.java.lang.String getSelectWithLockOption()
java.lang.String getSelectNewUUIDStmt()
java.lang.String getSequenceNextStmt(java.lang.String sequence_name)
sequence_name - Name of the sequence
java.lang.String getSequenceCreateStmt(java.lang.String sequence_name,
java.lang.Integer min,
java.lang.Integer max,
java.lang.Integer start,
java.lang.Integer increment,
java.lang.Integer cache_size)
sequence_name - Name of the sequencemin - Minimum value for the sequencemax - Maximum value for the sequencestart - Start value for the sequenceincrement - Increment value for the sequencecache_size - Cache size for the sequence
java.util.Iterator iteratorReservedWords()
java.lang.String getDatastoreDateStatement()
java.lang.String getCheckConstraintForValues(org.datanucleus.store.mapped.DatastoreIdentifier identifier,
java.lang.Object[] values,
boolean nullable)
CHECK ("COLUMN" IN ('VAL1','VAL2') OR "COLUMN" IS NULL)
identifier - Column identifiervalues - valid valuesnullable - whether the datastore identifier is null
SQLTypeInfo newSQLTypeInfo(java.sql.ResultSet rs)
rs - ResultSet
RDBMSColumnInfo newRDBMSColumnInfo(java.sql.ResultSet rs)
rs - Result Set
ForeignKeyInfo newFKInfo(java.sql.ResultSet rs)
rs - The result set returned from DatabaseMetaData.get??portedKeys()
java.lang.String getOrderString(org.datanucleus.store.StoreManager storeMgr,
java.lang.String orderString,
SQLExpression sqlExpr)
storeMgr - StoreManagerorderString - The basic ordering stringsqlExpr - The sql expression being represented here
boolean validToSelectMappingInStatement(SQLStatement stmt,
org.datanucleus.store.mapped.mapping.JavaTypeMapping m)
stmt - The statementm - The mapping that we want to select
boolean isStatementCancel(java.sql.SQLException sqle)
sqle - the exception
boolean isStatementTimeout(java.sql.SQLException sqle)
sqle - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||