|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DBIdentifier | |
---|---|
org.apache.openjpa.jdbc.identifier | |
org.apache.openjpa.jdbc.kernel | OpenJPA-JDBC Runtime Kernel |
org.apache.openjpa.jdbc.meta | OpenJPA-JDBC ORM Metadata |
org.apache.openjpa.jdbc.meta.strats | OpenJPA-JDBC ORM Strategies |
org.apache.openjpa.jdbc.schema | OpenJPA-JDBC Schema Management |
org.apache.openjpa.jdbc.sql | OpenJPA-JDBC SQL Abstraction |
org.apache.openjpa.persistence.jdbc | OpenJPA JPA-JDBC |
Uses of DBIdentifier in org.apache.openjpa.jdbc.identifier |
---|
Subclasses of DBIdentifier in org.apache.openjpa.jdbc.identifier | |
---|---|
class |
QualifiedDBIdentifier
This class extends DBIdentifier to provide support for qualified identifiers such as schema qualified tables and table qualified columns. |
Fields in org.apache.openjpa.jdbc.identifier declared as DBIdentifier | |
---|---|
static DBIdentifier |
DBIdentifier.NULL
Special NULL indicator for db identifiers. |
Methods in org.apache.openjpa.jdbc.identifier that return DBIdentifier | |
---|---|
DBIdentifier |
DBIdentifierUtilImpl.append(DBIdentifier.DBIdentifierType resultId,
DBIdentifier... names)
|
DBIdentifier |
DBIdentifierUtil.append(DBIdentifier.DBIdentifierType resultId,
DBIdentifier... names)
Appends multiple names together using the appropriate name delimiter. |
static DBIdentifier |
DBIdentifier.append(DBIdentifier name,
String str)
Returns a new DBIdentifier with the given string appended. |
DBIdentifier |
DBIdentifier.clone()
Clones an identifier using deep copy. |
static DBIdentifier |
DBIdentifier.combine(DBIdentifier.DBIdentifierType id,
String... names)
Combines an array of names names using standard combining rules and returns an identifier of the specified type. |
static DBIdentifier |
DBIdentifier.combine(DBIdentifier name,
String str)
Returns a new DBIdentifier with the given string combined using delimiting rules and appropriate separators. |
DBIdentifier |
DBIdentifierUtilImpl.convertSchemaCase(DBIdentifier name)
Convert the specified schema name to a name that the database will be able to understand in metadata operations. |
DBIdentifier |
DBIdentifierUtil.convertSchemaCase(DBIdentifier schema)
Converts the name of the specified delimiter to the appropriate case as defined by the configuration. |
DBIdentifier |
DBIdentifierUtilImpl.fromDBName(String name,
DBIdentifier.DBIdentifierType id)
Creates a new identifier of a given type based upon the name returned from the database. |
DBIdentifier |
DBIdentifierUtil.fromDBName(String name,
DBIdentifier.DBIdentifierType id)
Converts the name returned by the database to an identifier of the specified type. |
DBIdentifier |
DBIdentifierUtilImpl.getGeneratedKeySequenceName(Column col,
int maxLen)
|
DBIdentifier |
DBIdentifierUtil.getGeneratedKeySequenceName(Column col,
int maxLen)
Returns a generated key sequence identifier for the column. |
DBIdentifier |
QualifiedDBIdentifier.getIdentifier()
Returns this object as a DBIdentifier. |
DBIdentifier |
QualifiedDBIdentifier.getObjectTableName()
Gets the object table name component of the path, if the path is a table qualified identifier such as a constraint or column. |
DBIdentifier |
QualifiedDBIdentifier.getSchemaName()
Gets the schema component of the path. |
DBIdentifier |
QualifiedDBIdentifier.getUnqualifiedName()
Returns a new unqualified name based on this instance. |
DBIdentifier |
DBIdentifier.getUnqualifiedName()
Returns the unqualified name of this identifier. |
DBIdentifier |
DBIdentifierUtilImpl.getValidColumnIdentifier(DBIdentifier name,
Table table,
int maxLen,
boolean checkForUniqueness)
|
DBIdentifier |
DBIdentifierUtil.getValidColumnIdentifier(DBIdentifier name,
Table table,
int maxLen,
boolean checkForUniqueness)
Returns a valid column name/identifier, based upon the configuration and provided parameters. |
DBIdentifier |
DBIdentifierUtilImpl.getValidForeignKeyIdentifier(DBIdentifier name,
Table table,
Table toTable,
int maxLen)
|
DBIdentifier |
DBIdentifierUtil.getValidForeignKeyIdentifier(DBIdentifier name,
Table table,
Table toTable,
int maxLen)
Returns a valid foreign key identifier, based upon the configuration and provided parameters. |
DBIdentifier |
DBIdentifierUtilImpl.getValidIndexIdentifier(DBIdentifier name,
Table table,
int maxLen)
|
DBIdentifier |
DBIdentifierUtil.getValidIndexIdentifier(DBIdentifier name,
Table table,
int maxLen)
Returns a valid index identifier, based upon the configuration and provided parameters. |
DBIdentifier |
DBIdentifierUtilImpl.getValidSequenceIdentifier(DBIdentifier name,
Schema schema,
int maxLen)
|
DBIdentifier |
DBIdentifierUtil.getValidSequenceIdentifier(DBIdentifier name,
Schema schema,
int maxLen)
Returns a valid index identifier, based upon the configuration and provided parameters. |
DBIdentifier |
DBIdentifierUtilImpl.getValidTableIdentifier(DBIdentifier name,
Schema schema,
int maxLen)
|
DBIdentifier |
DBIdentifierUtil.getValidTableIdentifier(DBIdentifier name,
Schema schema,
int maxLen)
Returns a valid table identifier, based upon the configuration and provided parameters. |
DBIdentifier |
DBIdentifierUtilImpl.getValidUniqueIdentifier(DBIdentifier name,
Table table,
int maxLen)
|
DBIdentifier |
DBIdentifierUtil.getValidUniqueIdentifier(DBIdentifier name,
Table table,
int maxLen)
Returns a valid unique constraint identifier, based upon the configuration and provided parameters. |
DBIdentifier |
DBIdentifierUtilImpl.makeIdentifierValid(DBIdentifier sname,
NameSet set,
int maxLen,
boolean checkForUniqueness)
|
DBIdentifier |
DBIdentifierUtil.makeIdentifierValid(DBIdentifier sname,
NameSet set,
int maxLen,
boolean checkForUniqueness)
Shortens the given name to the given maximum length, then checks that it is not a reserved word. |
DBIdentifier |
DBIdentifierUtilImpl.makeNameValid(String name,
NameSet set,
int maxLen,
int nameType,
boolean checkForUniqueness)
|
DBIdentifier |
DBIdentifierUtil.makeNameValid(String name,
NameSet set,
int maxLen,
int nameType,
boolean checkForUniqueness)
Shortens the given name to the given maximum length, then checks that it is not a reserved word. |
static DBIdentifier |
DBIdentifier.newCatalog(String name)
Constructs a new identifier of type Catalog. |
static DBIdentifier |
DBIdentifier.newCatalog(String name,
boolean delimit)
Constructs a new identifier of type Catalog ,optionally delimiting the name. |
static DBIdentifier |
DBIdentifier.newColumn(String name)
Constructs a new identifier of type Column. |
static DBIdentifier |
DBIdentifier.newColumn(String name,
boolean delimit)
Constructs a new identifier of type Column,optionally delimiting the name. |
static DBIdentifier |
DBIdentifier.newColumnDefinition(String name)
Constructs a new identifier of type Column Definition. |
static DBIdentifier |
DBIdentifier.newConstant(String name)
Constructs a new identifier of type Constant. |
static DBIdentifier |
DBIdentifier.newConstraint(String name)
Constructs a new identifier of type Constraint. |
static DBIdentifier |
DBIdentifier.newConstraint(String name,
boolean delimit)
Constructs a new identifier of type Constraint, optionally delimiting the name. |
static DBIdentifier |
DBIdentifier.newDefault(String name)
Constructs a new identifier of type Default. |
static DBIdentifier |
DBIdentifier.newForeignKey(String name)
Constructs a new identifier of type ForeignKey. |
static DBIdentifier |
DBIdentifier.newForeignKey(String name,
boolean delimit)
Constructs a new identifier of type ForeignKey, optionally delimiting the name. |
protected static DBIdentifier |
DBIdentifier.newIdentifier(String name,
DBIdentifier.DBIdentifierType id)
Constructs a new identifier with the provided name and type |
static DBIdentifier |
DBIdentifier.newIdentifier(String name,
DBIdentifier.DBIdentifierType id,
boolean toUpper)
Constructs a new identifier with the provided name an type. |
protected static DBIdentifier |
DBIdentifier.newIdentifier(String name,
DBIdentifier.DBIdentifierType id,
boolean toUpper,
boolean delimit)
Constructs a new identifier (potentially a compound QualifiedDBIdentifier) with the provided name an type. |
protected static DBIdentifier |
DBIdentifier.newIdentifier(String name,
DBIdentifier.DBIdentifierType id,
boolean toUpper,
boolean delimit,
boolean ignoreCase)
Constructs a new identifier (potentially a compound QualifiedDBIdentifier) with the provided name an type. |
static DBIdentifier |
DBIdentifier.newIndex(String name)
Constructs a new identifier of type Index. |
static DBIdentifier |
DBIdentifier.newIndex(String name,
boolean delimit)
Constructs a new identifier of type Index, optionally delimiting the name. |
static DBIdentifier |
DBIdentifier.newSchema(String name)
Constructs a new identifier of type Schema. |
static DBIdentifier |
DBIdentifier.newSchema(String name,
boolean delimit)
Constructs a new identifier of type Schema, optionally delimiting the name. |
static DBIdentifier |
DBIdentifier.newSequence(String name)
Constructs a new identifier of type Sequence. |
static DBIdentifier |
DBIdentifier.newSequence(String name,
boolean delimit)
Constructs a new identifier of type Sequence, optionally delimiting the name. |
static DBIdentifier |
DBIdentifier.newTable(String name)
Constructs a new identifier of type Table. |
static DBIdentifier |
DBIdentifier.newTable(String name,
boolean delimit)
Constructs a new identifier of type Table, optionally delimiting the name. |
static DBIdentifier |
DBIdentifier.preCombine(DBIdentifier name,
String prefix)
Returns a new identifier with a combined prefix and name using the standard name concatenation character ('_'). |
static DBIdentifier |
DBIdentifier.removeDelimiters(DBIdentifier name)
Returns a new identifier with delimiters removed. |
static DBIdentifier |
DBIdentifier.removeHungarianNotation(DBIdentifier name)
Returns a new DBIdentifier with Hungarian notation removed. |
static DBIdentifier |
DBIdentifier.removeLeading(DBIdentifier name,
String leadingStr)
Returns a new DBIdentifier with the specified leading string removed. |
static DBIdentifier[] |
DBIdentifier.split(DBIdentifier.DBIdentifierType resultType,
String name)
Splits a given DBIdentifier into multiple DBIdentifiers. |
static DBIdentifier[] |
DBIdentifier.split(String name,
DBIdentifier.DBIdentifierType id,
String delim)
Splits a string delimited by the specified delimiter of a given name type into an array of DBIdentifier objects. |
static DBIdentifier[] |
QualifiedDBIdentifier.splitPath(DBIdentifier sName)
Splits a qualified path into separate identifiers. |
static DBIdentifier[] |
DBIdentifier.toArray(String[] columnNames,
DBIdentifier.DBIdentifierType id)
Converts the provided set of names to an array of identifiers of the provided type |
static DBIdentifier[] |
DBIdentifier.toArray(String[] names,
DBIdentifier.DBIdentifierType id,
boolean delimit)
Converts the provided set of names to an array of identifiers of the provided type, optionally delimiting the names. |
static DBIdentifier |
DBIdentifier.toLower(DBIdentifier name)
Returns a new DBIdentifier converted to lower case - if not delimited. |
static DBIdentifier |
DBIdentifier.toLower(DBIdentifier name,
boolean force)
Returns a new DBIdentifier converted to lower case. |
static DBIdentifier |
DBIdentifier.toUpper(DBIdentifier name)
Returns a new DBIdentifier converted to upper case - if not delimited. |
static DBIdentifier |
DBIdentifier.toUpper(DBIdentifier name,
boolean force)
Returns a new DBIdentifier converted to upper case. |
static DBIdentifier |
DBIdentifier.trim(DBIdentifier name)
Returns a new delimiter with leading and trailing spaces removed. |
static DBIdentifier |
DBIdentifier.trimToNull(DBIdentifier name)
Returns a copy of an identifier with name trimmed to null. |
static DBIdentifier |
DBIdentifier.truncate(DBIdentifier name,
int length)
Returns a new DBIdentifier truncated to length |
Methods in org.apache.openjpa.jdbc.identifier with parameters of type DBIdentifier | |
---|---|
DBIdentifier |
DBIdentifierUtilImpl.append(DBIdentifier.DBIdentifierType resultId,
DBIdentifier... names)
|
DBIdentifier |
DBIdentifierUtil.append(DBIdentifier.DBIdentifierType resultId,
DBIdentifier... names)
Appends multiple names together using the appropriate name delimiter. |
static DBIdentifier |
DBIdentifier.append(DBIdentifier name,
String str)
Returns a new DBIdentifier with the given string appended. |
static DBIdentifier |
DBIdentifier.combine(DBIdentifier name,
String str)
Returns a new DBIdentifier with the given string combined using delimiting rules and appropriate separators. |
DBIdentifier |
DBIdentifierUtilImpl.convertSchemaCase(DBIdentifier name)
Convert the specified schema name to a name that the database will be able to understand in metadata operations. |
DBIdentifier |
DBIdentifierUtil.convertSchemaCase(DBIdentifier schema)
Converts the name of the specified delimiter to the appropriate case as defined by the configuration. |
String |
DBIdentifierUtilImpl.delimit(DBIdentifier name,
boolean force)
|
static boolean |
DBIdentifier.equal(DBIdentifier name1,
DBIdentifier name2)
Static equality method for comparing two identifiers. |
boolean |
DBIdentifier.equalsIgnoreCase(DBIdentifier name)
Equality operator which ignores case. |
static boolean |
DBIdentifier.equalsIgnoreCase(DBIdentifier name1,
DBIdentifier name2)
Static equality operator which ignores case. |
static QualifiedDBIdentifier |
QualifiedDBIdentifier.getPath(DBIdentifier sName)
Creates a qualified path from an identifier. |
DBIdentifier |
DBIdentifierUtilImpl.getValidColumnIdentifier(DBIdentifier name,
Table table,
int maxLen,
boolean checkForUniqueness)
|
DBIdentifier |
DBIdentifierUtil.getValidColumnIdentifier(DBIdentifier name,
Table table,
int maxLen,
boolean checkForUniqueness)
Returns a valid column name/identifier, based upon the configuration and provided parameters. |
DBIdentifier |
DBIdentifierUtilImpl.getValidForeignKeyIdentifier(DBIdentifier name,
Table table,
Table toTable,
int maxLen)
|
DBIdentifier |
DBIdentifierUtil.getValidForeignKeyIdentifier(DBIdentifier name,
Table table,
Table toTable,
int maxLen)
Returns a valid foreign key identifier, based upon the configuration and provided parameters. |
DBIdentifier |
DBIdentifierUtilImpl.getValidIndexIdentifier(DBIdentifier name,
Table table,
int maxLen)
|
DBIdentifier |
DBIdentifierUtil.getValidIndexIdentifier(DBIdentifier name,
Table table,
int maxLen)
Returns a valid index identifier, based upon the configuration and provided parameters. |
DBIdentifier |
DBIdentifierUtilImpl.getValidSequenceIdentifier(DBIdentifier name,
Schema schema,
int maxLen)
|
DBIdentifier |
DBIdentifierUtil.getValidSequenceIdentifier(DBIdentifier name,
Schema schema,
int maxLen)
Returns a valid index identifier, based upon the configuration and provided parameters. |
DBIdentifier |
DBIdentifierUtilImpl.getValidTableIdentifier(DBIdentifier name,
Schema schema,
int maxLen)
|
DBIdentifier |
DBIdentifierUtil.getValidTableIdentifier(DBIdentifier name,
Schema schema,
int maxLen)
Returns a valid table identifier, based upon the configuration and provided parameters. |
DBIdentifier |
DBIdentifierUtilImpl.getValidUniqueIdentifier(DBIdentifier name,
Table table,
int maxLen)
|
DBIdentifier |
DBIdentifierUtil.getValidUniqueIdentifier(DBIdentifier name,
Table table,
int maxLen)
Returns a valid unique constraint identifier, based upon the configuration and provided parameters. |
static boolean |
DBIdentifier.isEmpty(DBIdentifier name)
Returns true if the identifier is null or the name is null or empty. |
static boolean |
DBIdentifier.isNull(DBIdentifier name)
Returns true if the identifier is null. |
static String |
DBIdentifier.join(DBIdentifier... names)
Joins the list of identifiers using the appropriate delimiters and returns a string based identifier. |
DBIdentifier |
DBIdentifierUtilImpl.makeIdentifierValid(DBIdentifier sname,
NameSet set,
int maxLen,
boolean checkForUniqueness)
|
DBIdentifier |
DBIdentifierUtil.makeIdentifierValid(DBIdentifier sname,
NameSet set,
int maxLen,
boolean checkForUniqueness)
Shortens the given name to the given maximum length, then checks that it is not a reserved word. |
static QualifiedDBIdentifier |
QualifiedDBIdentifier.newPath(DBIdentifier... names)
Creates a qualified identifier based upon an array of DBIdentifiers. |
static DBIdentifier |
DBIdentifier.preCombine(DBIdentifier name,
String prefix)
Returns a new identifier with a combined prefix and name using the standard name concatenation character ('_'). |
static DBIdentifier |
DBIdentifier.removeDelimiters(DBIdentifier name)
Returns a new identifier with delimiters removed. |
static DBIdentifier |
DBIdentifier.removeHungarianNotation(DBIdentifier name)
Returns a new DBIdentifier with Hungarian notation removed. |
static DBIdentifier |
DBIdentifier.removeLeading(DBIdentifier name,
String leadingStr)
Returns a new DBIdentifier with the specified leading string removed. |
void |
DBIdentifier.setName(DBIdentifier name)
Set the name of this identifier based upon a given identifier. |
void |
QualifiedDBIdentifier.setObjectTableName(DBIdentifier objectName)
Sets the object table name component of the path, if the path is a table qualified identifier such as a constraint or column. |
void |
QualifiedDBIdentifier.setPath(DBIdentifier... sNames)
Set the identifiers that make up the path. |
void |
QualifiedDBIdentifier.setSchemaName(DBIdentifier schemaName)
Sets the schema component of the path. |
static DBIdentifier[] |
QualifiedDBIdentifier.splitPath(DBIdentifier sName)
Splits a qualified path into separate identifiers. |
String |
DBIdentifierUtilImpl.toDBName(DBIdentifier name)
Converts the name to a name which can be used within a SQL statement. |
String |
DBIdentifierUtil.toDBName(DBIdentifier name)
Converts the specified identifier to a format required by the database. |
String |
DBIdentifierUtilImpl.toDBName(DBIdentifier name,
boolean delimit)
Converts the name to a name which can be used within a SQL statement. |
String |
DBIdentifierUtil.toDBName(DBIdentifier name,
boolean delimit)
Converts the specified identifier to a format required by the database, optionally delimiting the name. |
static DBIdentifier |
DBIdentifier.toLower(DBIdentifier name)
Returns a new DBIdentifier converted to lower case - if not delimited. |
static DBIdentifier |
DBIdentifier.toLower(DBIdentifier name,
boolean force)
Returns a new DBIdentifier converted to lower case. |
static String[] |
DBIdentifier.toStringArray(DBIdentifier[] sNames)
Returns a string array of names based upon the provided set of identifiers. |
static DBIdentifier |
DBIdentifier.toUpper(DBIdentifier name)
Returns a new DBIdentifier converted to upper case - if not delimited. |
static DBIdentifier |
DBIdentifier.toUpper(DBIdentifier name,
boolean force)
Returns a new DBIdentifier converted to upper case. |
static DBIdentifier |
DBIdentifier.trim(DBIdentifier name)
Returns a new delimiter with leading and trailing spaces removed. |
static DBIdentifier |
DBIdentifier.trimToNull(DBIdentifier name)
Returns a copy of an identifier with name trimmed to null. |
static DBIdentifier |
DBIdentifier.truncate(DBIdentifier name,
int length)
Returns a new DBIdentifier truncated to length |
Constructors in org.apache.openjpa.jdbc.identifier with parameters of type DBIdentifier | |
---|---|
QualifiedDBIdentifier(DBIdentifier... sNames)
|
Uses of DBIdentifier in org.apache.openjpa.jdbc.kernel |
---|
Methods in org.apache.openjpa.jdbc.kernel that return DBIdentifier | |
---|---|
DBIdentifier |
TableJDBCSeq.getPrimaryKeyColumnIdentifier()
|
DBIdentifier |
NativeJDBCSeq.getSchemaIdentifier()
|
DBIdentifier |
TableJDBCSeq.getUniqueConstraintIdentifier()
|
DBIdentifier |
TableJDBCSeq.resolveTableIdentifier(ClassMapping mapping,
Table table)
Resolve a fully qualified table name |
Methods in org.apache.openjpa.jdbc.kernel with parameters of type DBIdentifier | |
---|---|
protected List<Object> |
PreparedStatementManagerImpl.getGeneratedKeys(PreparedStatement stmnt,
DBIdentifier[] autoAssignColNames)
|
protected List<Object> |
PreparedStatementManagerImpl.populateAutoAssignCols(PreparedStatement stmnt,
Column[] autoAssign,
DBIdentifier[] autoAssignColNames,
RowImpl row)
This method will only be called when there is auto assign columns. |
protected void |
PreparedStatementManagerImpl.setObjectId(List vals,
Column[] autoAssign,
DBIdentifier[] autoAssignColNames,
RowImpl row)
|
void |
TableJDBCSeq.setUniqueConstraintName(DBIdentifier uniqueConstraintName)
|
Uses of DBIdentifier in org.apache.openjpa.jdbc.meta |
---|
Methods in org.apache.openjpa.jdbc.meta with parameters of type DBIdentifier | |
---|---|
void |
ClassMappingInfo.addSecondaryTable(DBIdentifier second)
|
void |
ClassMappingInfo.addUnique(DBIdentifier table,
Unique unique)
Add a unique constraint for the given table. |
Table |
MappingInfo.createTable(MetaDataContext context,
MappingInfo.TableDefaults def,
DBIdentifier schemaName,
DBIdentifier given,
boolean adapt)
|
List<Column> |
MappingInfo.getColumns(DBIdentifier tableName)
Gets the columns whose table name matches the given table name. |
Column[] |
ValueMappingInfo.getColumns(ValueMapping val,
DBIdentifier name,
Column[] tmplates,
Table table,
boolean adapt)
|
ForeignKey |
NoneMappingDefaults.getForeignKey(ValueMapping vm,
DBIdentifier name,
Table local,
Table foreign,
boolean inverse)
|
ForeignKey |
MappingDefaultsImpl.getForeignKey(ValueMapping vm,
DBIdentifier name,
Table local,
Table foreign,
boolean inverse)
|
ForeignKey |
MappingDefaults.getForeignKey(ValueMapping vm,
DBIdentifier name,
Table local,
Table foreign,
boolean inverse)
Return a default foreign key for the join from this value to its related type, or null for a logical foreign key only. |
Index |
ValueMappingInfo.getIndex(ValueMapping val,
DBIdentifier name,
boolean adapt)
|
Index |
NoneMappingDefaults.getIndex(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols)
|
Index |
MappingDefaultsImpl.getIndex(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols)
|
Index |
MappingDefaults.getIndex(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols)
Return a default index for the value, or null if the value columns should not be indexed by default. |
protected DBIdentifier |
MappingDefaultsImpl.getIndexName(DBIdentifier name,
Table table,
Column[] cols)
|
ForeignKey |
ValueMappingInfo.getInverseTypeJoin(ValueMapping val,
DBIdentifier name,
boolean adapt)
|
Column |
ValueMappingInfo.getNullIndicatorColumn(ValueMapping val,
DBIdentifier name,
Table table,
boolean adapt)
|
DBIdentifier |
ClassMappingInfo.getSecondaryTableIdentifier(DBIdentifier tableName)
|
List<Column> |
ClassMappingInfo.getSecondaryTableJoinColumns(DBIdentifier tableName)
|
Table |
ClassMappingInfo.getTable(ClassMapping cls,
DBIdentifier tableName,
boolean adapt)
Return the named table for the given class. |
ForeignKey |
ValueMappingInfo.getTypeJoin(ValueMapping val,
DBIdentifier name,
boolean inversable,
boolean adapt)
|
Unique |
ValueMappingInfo.getUnique(ValueMapping val,
DBIdentifier name,
boolean adapt)
|
Unique |
NoneMappingDefaults.getUnique(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols)
|
Unique |
MappingDefaultsImpl.getUnique(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols)
|
Unique |
MappingDefaults.getUnique(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols)
Return a default constraint for the value, or null if the value columns should not be constrained by default. |
Unique[] |
ClassMappingInfo.getUniques(DBIdentifier table)
Get the unique constraints of the given primary or secondary table. |
void |
ValueMappingImpl.mapConstraints(DBIdentifier name,
boolean adapt)
|
void |
ValueMapping.mapConstraints(DBIdentifier name,
boolean adapt)
Map indexes and constraints for this value, using the current ValueMappingInfo . |
void |
FieldMapping.mapConstraints(DBIdentifier name,
boolean adapt)
|
void |
NoneMappingDefaults.populateColumns(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols)
|
void |
MappingDefaultsImpl.populateColumns(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols)
|
void |
MappingDefaults.populateColumns(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols)
Fill in default information for the given value columns. |
void |
NoneMappingDefaults.populateForeignKeyColumn(ValueMapping vm,
DBIdentifier name,
Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols)
|
void |
MappingDefaultsImpl.populateForeignKeyColumn(ValueMapping vm,
DBIdentifier name,
Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols)
|
void |
MappingDefaults.populateForeignKeyColumn(ValueMapping vm,
DBIdentifier name,
Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols)
Fill in default information for the given column used to join a value to its related type. |
boolean |
NoneMappingDefaults.populateNullIndicatorColumns(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols)
|
boolean |
MappingDefaultsImpl.populateNullIndicatorColumns(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols)
|
boolean |
MappingDefaults.populateNullIndicatorColumns(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols)
Fill in default information for the given null indicator columns. |
void |
MappingDefaultsImpl.setDataStoreIdColumnIdentifier(DBIdentifier dsIdName)
|
void |
MappingDefaultsImpl.setDiscriminatorColumnIdentifier(DBIdentifier discName)
|
void |
MappingDefaultsImpl.setNullIndicatorColumnIdentifier(DBIdentifier nullIndName)
|
void |
MappingDefaultsImpl.setOrderColumnIdentifier(DBIdentifier orderName)
|
void |
SequenceMapping.setPrimaryKeyColumnIdentifier(DBIdentifier primaryKeyColumn)
|
void |
ClassMappingInfo.setSchemaIdentifier(DBIdentifier schema)
|
void |
ClassMappingInfo.setSecondaryTableJoinColumns(DBIdentifier tableName,
List<Column> cols)
|
void |
SequenceMapping.setSequenceColumnIdentifier(DBIdentifier sequenceColumn)
|
void |
SequenceMapping.setTableIdentifier(DBIdentifier table)
|
void |
FieldMappingInfo.setTableIdentifier(DBIdentifier tableName)
|
void |
ClassMappingInfo.setTableIdentifier(DBIdentifier table)
|
void |
SequenceMapping.setUniqueColumnsIdentifier(DBIdentifier[] cols)
|
void |
SequenceMapping.setUniqueConstraintIdentifier(DBIdentifier name)
|
void |
MappingDefaultsImpl.setVersionColumnIdentifier(DBIdentifier versName)
|
Constructors in org.apache.openjpa.jdbc.meta with parameters of type DBIdentifier | |
---|---|
SequenceMapping(DBIdentifier name,
MappingRepository repos)
Sequence names are a kernel object so DBIdentifiers must be converted to strings |
Uses of DBIdentifier in org.apache.openjpa.jdbc.meta.strats |
---|
Methods in org.apache.openjpa.jdbc.meta.strats with parameters of type DBIdentifier | |
---|---|
Column[] |
XMLValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt)
|
Column[] |
UntypedPCValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt)
|
Column[] |
ObjectIdValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt)
|
Column[] |
ImmutableValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt)
|
Column[] |
EnumValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt)
|
Column[] |
ElementEmbedValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt)
|
Column[] |
ClobValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt)
|
Column[] |
CharArrayValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt)
|
Column[] |
CharArrayStreamValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt)
|
Column[] |
ByteArrayValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt)
|
Column[] |
BlobValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt)
|
protected void |
EmbedValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt,
List cols,
List args)
Maps embedded value and gathers columns and arguments into given lists. |
static void |
RelationStrategies.mapRelationToUnmappedPC(ValueMapping vm,
DBIdentifier name,
boolean adapt)
|
Uses of DBIdentifier in org.apache.openjpa.jdbc.schema |
---|
Methods in org.apache.openjpa.jdbc.schema with parameters of type DBIdentifier | |
---|---|
Column |
Table.addColumn(DBIdentifier name)
|
Column |
Table.addColumn(DBIdentifier name,
DBIdentifier validName)
|
void |
Table.addCorrectedColumnName(DBIdentifier name,
boolean validate)
|
ForeignKey |
Table.addForeignKey(DBIdentifier name)
|
Index |
Table.addIndex(DBIdentifier name)
|
protected void |
NameSet.addName(DBIdentifier name,
boolean validate)
Attempt to add the given name to the set. |
PrimaryKey |
Table.addPrimaryKey(DBIdentifier name)
|
Schema |
SchemaGroup.addSchema(DBIdentifier name)
Add a schema to the group. |
Sequence |
Schema.addSequence(DBIdentifier name)
|
Table |
Schema.addTable(DBIdentifier name)
|
Table |
Schema.addTable(DBIdentifier name,
DBIdentifier validName)
|
Unique |
Table.addUnique(DBIdentifier name)
|
boolean |
Table.containsColumn(DBIdentifier name)
|
boolean |
Table.containsColumn(DBIdentifier name,
DBDictionary dict)
|
Sequence |
SchemaGroup.findSequence(DBIdentifier name)
|
Sequence |
LazySchemaFactory.findSequence(DBIdentifier name)
|
Table |
LazySchemaFactory.findTable(DBIdentifier name)
|
Table |
DynamicSchemaFactory.findTable(DBIdentifier name)
|
Table |
SchemaGroup.findTable(Schema inSchema,
DBIdentifier name)
|
Table |
SchemaGroup.findTable(Schema inSchema,
DBIdentifier name,
DBIdentifier defaultSchemaName)
|
Table |
SchemaGroup.findTable(Schema inSchema,
QualifiedDBIdentifier path,
DBIdentifier defaultSchemaName)
|
void |
SchemaGenerator.generateForeignKeys(DBIdentifier schemaName,
DBIdentifier[] tableNames)
Generate foreign key information for the given schema. |
void |
SchemaGenerator.generateForeignKeys(DBIdentifier schemaName,
DBIdentifier[] tableNames)
Generate foreign key information for the given schema. |
void |
SchemaGenerator.generateForeignKeys(DBIdentifier schemaName,
DBIdentifier tableName,
Connection conn,
DatabaseMetaData meta)
|
void |
SchemaGenerator.generateIndexes(DBIdentifier schemaName,
DBIdentifier[] tableNames)
Generate index information for the given schema. |
void |
SchemaGenerator.generateIndexes(DBIdentifier schemaName,
DBIdentifier[] tableNames)
Generate index information for the given schema. |
void |
SchemaGenerator.generateIndexes(DBIdentifier schemaName,
DBIdentifier tableName,
Connection conn,
DatabaseMetaData meta)
|
void |
SchemaGenerator.generatePrimaryKeys(DBIdentifier schemaName,
DBIdentifier[] tableNames)
Generate primary key information for the given schema. |
void |
SchemaGenerator.generatePrimaryKeys(DBIdentifier schemaName,
DBIdentifier[] tableNames)
Generate primary key information for the given schema. |
void |
SchemaGenerator.generatePrimaryKeys(DBIdentifier schemaName,
DBIdentifier tableName,
Connection conn,
DatabaseMetaData meta)
|
void |
SchemaGenerator.generateSchema(DBIdentifier name,
DBIdentifier[] tableNames)
Add a fully-constructed Schema matching the given database
schema to the current group. |
void |
SchemaGenerator.generateSchema(DBIdentifier name,
DBIdentifier[] tableNames)
Add a fully-constructed Schema matching the given database
schema to the current group. |
void |
SchemaGenerator.generateSchemas(DBIdentifier[] schemasAndTables)
Generate the schemas and/or tables named in the given strings. |
void |
SchemaGenerator.generateSequences(DBIdentifier schemaName,
DBIdentifier sequenceName,
Connection conn,
DatabaseMetaData meta)
|
void |
SchemaGenerator.generateTables(DBIdentifier schemaName,
DBIdentifier tableName,
Connection conn,
DatabaseMetaData meta)
Adds all tables matching the given name pattern to the schema. |
Column |
Table.getColumn(DBIdentifier name)
|
Column |
Table.getColumn(DBIdentifier name,
boolean create)
|
ForeignKey |
Table.getForeignKey(DBIdentifier name)
|
Index |
Table.getIndex(DBIdentifier name)
|
Schema |
SchemaGroup.getSchema(DBIdentifier name)
|
Sequence |
Schema.getSequence(DBIdentifier name)
|
Table |
Schema.getTable(DBIdentifier name)
|
Unique |
Table.getUnique(DBIdentifier name)
|
boolean |
SchemaGroup.isKnownSequence(DBIdentifier name)
|
boolean |
NameSet.isNameTaken(DBIdentifier name)
|
protected Column |
SchemaGroup.newColumn(DBIdentifier name,
Table table)
|
protected Column |
DynamicSchemaFactory.newColumn(DBIdentifier name,
Table table)
|
protected ForeignKey |
SchemaGroup.newForeignKey(DBIdentifier name,
Table table)
|
protected Index |
SchemaGroup.newIndex(DBIdentifier name,
Table table)
|
protected PrimaryKey |
SchemaGroup.newPrimaryKey(DBIdentifier name,
Table table)
|
protected Schema |
SchemaGroup.newSchema(DBIdentifier name)
|
protected Sequence |
SchemaGroup.newSequence(DBIdentifier name,
Schema schema)
|
protected Table |
SchemaGroup.newTable(DBIdentifier name,
Schema schema)
|
protected Table |
DynamicSchemaFactory.newTable(DBIdentifier name,
Schema schema)
|
protected Unique |
SchemaGroup.newUnique(DBIdentifier name,
Table table)
|
protected void |
NameSet.removeName(DBIdentifier name)
Remove the given name from the table. |
void |
Column.resetTableIdentifier(DBIdentifier table)
|
void |
Constraint.setColumnIdentifier(DBIdentifier name)
|
void |
Unique.setIdentifier(DBIdentifier name)
|
void |
Table.setIdentifier(DBIdentifier name)
|
void |
Sequence.setIdentifier(DBIdentifier name)
|
void |
Schema.setIdentifier(DBIdentifier name)
|
void |
Constraint.setIdentifier(DBIdentifier name)
|
void |
Column.setIdentifier(DBIdentifier name)
|
void |
ForeignKey.setPrimaryKeyColumnIdentifier(DBIdentifier pkColumnName)
|
void |
ForeignKey.setPrimaryKeySchemaIdentifier(DBIdentifier pkSchemaName)
|
void |
ForeignKey.setPrimaryKeyTableIdentifier(DBIdentifier pkTableName)
|
void |
Table.setSchemaIdentifier(DBIdentifier name)
|
void |
Sequence.setSchemaIdentifier(DBIdentifier name)
|
void |
Constraint.setSchemaIdentifier(DBIdentifier schema)
|
void |
Column.setSchemaIdentifier(DBIdentifier name)
|
void |
Constraint.setTableIdentifier(DBIdentifier name)
|
void |
Column.setTableIdentifier(DBIdentifier name)
|
void |
Column.setTargetIdentifier(DBIdentifier target)
|
void |
Column.setTypeIdentifier(DBIdentifier typeName)
|
Constructors in org.apache.openjpa.jdbc.schema with parameters of type DBIdentifier | |
---|---|
Column(DBIdentifier name,
Table table)
|
|
Constraint(DBIdentifier name,
Table table)
|
|
ForeignKey(DBIdentifier name,
Table table)
|
|
Index(DBIdentifier name,
Table table)
|
|
LocalConstraint(DBIdentifier name,
Table table)
|
|
PrimaryKey(DBIdentifier name,
Table table)
|
|
Schema(DBIdentifier name,
SchemaGroup group)
|
|
Sequence(DBIdentifier name,
Schema schema)
|
|
Table(DBIdentifier name,
Schema schema)
|
|
Unique(DBIdentifier name,
Table table)
|
Uses of DBIdentifier in org.apache.openjpa.jdbc.sql |
---|
Methods in org.apache.openjpa.jdbc.sql that return DBIdentifier | |
---|---|
DBIdentifier |
DBDictionary.fromDBName(String name,
DBIdentifier.DBIdentifierType id)
|
DBIdentifier |
DBDictionary.getColumnIdentifier(Column column)
Returns the name of the column using database specific delimiters. |
DBIdentifier |
DBDictionary.getFullIdentifier(Table table,
boolean logical)
Returns the full name of the table, including the schema (delimited by DBDictionary.catalogSeparator ). |
DBIdentifier |
DBDictionary.getValidColumnName(DBIdentifier name,
Table table)
Make any necessary changes to the given column name to make it valid for the current DB. |
DBIdentifier |
DBDictionary.getValidColumnName(DBIdentifier name,
Table table,
boolean checkForUniqueness)
Make any necessary changes to the given column name to make it valid for the current DB. |
DBIdentifier |
DBDictionary.getValidForeignKeyName(DBIdentifier name,
Table table,
Table toTable)
Make any necessary changes to the given foreign key name to make it valid for the current DB. |
DBIdentifier |
DBDictionary.getValidIndexName(DBIdentifier name,
Table table)
Make any necessary changes to the given index name to make it valid for the current DB. |
DBIdentifier |
DBDictionary.getValidSequenceName(DBIdentifier name,
Schema schema)
Make any necessary changes to the given sequence name to make it valid for the current DB. |
DBIdentifier |
DBDictionary.getValidTableName(DBIdentifier name,
Schema schema)
Make any necessary changes to the given table name to make it valid for the current DB. |
DBIdentifier |
DBDictionary.getValidUniqueName(DBIdentifier name,
Table table)
Make any necessary changes to the given unique constraint name to make it valid for the current DB. |
DBIdentifier |
DBDictionary.getVersionColumn(Column column,
DBIdentifier tableAlias)
|
protected DBIdentifier |
DBDictionary.makeNameValid(DBIdentifier name,
NameSet set,
int maxLen,
int nameType)
Shortens the given name to the given maximum length, then checks that it is not a reserved word. |
protected DBIdentifier |
DBDictionary.makeNameValid(DBIdentifier name,
NameSet set,
int maxLen,
int nameType,
boolean checkForUniqueness)
Shortens the given name to the given maximum length, then checks that it is not a reserved word. |
Methods in org.apache.openjpa.jdbc.sql with parameters of type DBIdentifier | |
---|---|
SQLBuffer |
SQLBuffer.append(DBIdentifier name)
|
String |
SolidDBDictionary.convertSchemaCase(DBIdentifier objectName)
|
String |
DBDictionary.convertSchemaCase(DBIdentifier objectName)
Convert the specified schema name to a name that the database will be able to understand. |
void |
DBDictionary.createIndexIfNecessary(Schema schema,
DBIdentifier table,
Column pkColumn)
|
void |
DB2Dictionary.createIndexIfNecessary(Schema schema,
DBIdentifier table,
Column pkColumn)
|
protected String |
DBDictionary.getCatalogNameForMetadata(DBIdentifier catalogName)
Returns the catalog name that will be used for obtaining information from DatabaseMetaData . |
protected String |
InterbaseDictionary.getColumnNameForMetadata(DBIdentifier columnName)
|
protected String |
DBDictionary.getColumnNameForMetadata(DBIdentifier columnName)
Returns the column name that will be used for obtaining information from DatabaseMetaData . |
Column[] |
SQLServerDictionary.getColumns(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
DBIdentifier columnName,
Connection conn)
|
Column[] |
PointbaseDictionary.getColumns(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
DBIdentifier columnName,
Connection conn)
|
Column[] |
OracleDictionary.getColumns(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
DBIdentifier columnName,
Connection conn)
|
Column[] |
InformixDictionary.getColumns(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
DBIdentifier columnName,
Connection conn)
|
Column[] |
H2Dictionary.getColumns(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
DBIdentifier columnName,
Connection conn)
|
Column[] |
FoxProDictionary.getColumns(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
DBIdentifier columnName,
Connection conn)
|
Column[] |
DBDictionary.getColumns(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
DBIdentifier columnName,
Connection conn)
Reflect on the schema to find columns matching the given table and column patterns. |
ForeignKey[] |
DBDictionary.getImportedKeys(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
Connection conn)
Reflect on the schema to return foreign keys imported by the given table pattern. |
ForeignKey[] |
OracleDictionary.getImportedKeys(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
Connection conn,
boolean partialKeys)
|
ForeignKey[] |
DBDictionary.getImportedKeys(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
Connection conn,
boolean partialKeys)
Reflect on the schema to return full foreign keys imported by the given table pattern. |
Index[] |
OracleDictionary.getIndexInfo(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
boolean unique,
boolean approx,
Connection conn)
|
Index[] |
DBDictionary.getIndexInfo(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
boolean unique,
boolean approx,
Connection conn)
Reflect on the schema to find indexes matching the given table pattern. |
PrimaryKey[] |
OracleDictionary.getPrimaryKeys(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
Connection conn)
|
PrimaryKey[] |
FoxProDictionary.getPrimaryKeys(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
Connection conn)
|
PrimaryKey[] |
DBDictionary.getPrimaryKeys(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
Connection conn)
Reflect on the schema to find primary keys for the given table pattern. |
protected PrimaryKey[] |
DBDictionary.getPrimaryKeysFromBestRowIdentifier(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
Connection conn)
Reflect on the schema to find primary keys for the given table pattern. |
protected PrimaryKey[] |
DBDictionary.getPrimaryKeysFromGetPrimaryKeys(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
Connection conn)
Reflect on the schema to find primary keys for the given table pattern. |
protected String |
DBDictionary.getSchemaNameForMetadata(DBIdentifier schemaName)
Returns the schema name that will be used for obtaining information from DatabaseMetaData . |
Sequence[] |
DBDictionary.getSequences(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier sequenceName,
Connection conn)
|
protected String |
SolidDBDictionary.getSequencesSQL(DBIdentifier schemaName,
DBIdentifier sequenceName)
|
protected String |
PostgresDictionary.getSequencesSQL(DBIdentifier schemaName,
DBIdentifier sequenceName)
|
protected String |
OracleDictionary.getSequencesSQL(DBIdentifier schemaName,
DBIdentifier sequenceName)
|
protected String |
IngresDictionary.getSequencesSQL(DBIdentifier schemaName,
DBIdentifier sequenceName)
|
protected String |
H2Dictionary.getSequencesSQL(DBIdentifier schemaName,
DBIdentifier sequenceName)
|
protected String |
FirebirdDictionary.getSequencesSQL(DBIdentifier schemaName,
DBIdentifier sequenceName)
|
protected String |
DBDictionary.getSequencesSQL(DBIdentifier schemaName,
DBIdentifier sequenceName)
|
protected String |
DB2Dictionary.getSequencesSQL(DBIdentifier schemaName,
DBIdentifier sequenceName)
|
protected String |
InterbaseDictionary.getTableNameForMetadata(DBIdentifier tableName)
|
protected String |
FirebirdDictionary.getTableNameForMetadata(DBIdentifier tableName)
|
protected String |
DBDictionary.getTableNameForMetadata(DBIdentifier tableName)
Returns the table name that will be used for obtaining information from DatabaseMetaData . |
Table[] |
DBDictionary.getTables(DatabaseMetaData meta,
DBIdentifier sqlCatalog,
DBIdentifier sqlSchemaName,
DBIdentifier sqlTableName,
Connection conn)
Reflect on the schema to find tables matching the given name pattern. |
DBIdentifier |
DBDictionary.getValidColumnName(DBIdentifier name,
Table table)
Make any necessary changes to the given column name to make it valid for the current DB. |
DBIdentifier |
DBDictionary.getValidColumnName(DBIdentifier name,
Table table,
boolean checkForUniqueness)
Make any necessary changes to the given column name to make it valid for the current DB. |
DBIdentifier |
DBDictionary.getValidForeignKeyName(DBIdentifier name,
Table table,
Table toTable)
Make any necessary changes to the given foreign key name to make it valid for the current DB. |
DBIdentifier |
DBDictionary.getValidIndexName(DBIdentifier name,
Table table)
Make any necessary changes to the given index name to make it valid for the current DB. |
DBIdentifier |
DBDictionary.getValidSequenceName(DBIdentifier name,
Schema schema)
Make any necessary changes to the given sequence name to make it valid for the current DB. |
DBIdentifier |
DBDictionary.getValidTableName(DBIdentifier name,
Schema schema)
Make any necessary changes to the given table name to make it valid for the current DB. |
DBIdentifier |
DBDictionary.getValidUniqueName(DBIdentifier name,
Table table)
Make any necessary changes to the given unique constraint name to make it valid for the current DB. |
DBIdentifier |
DBDictionary.getVersionColumn(Column column,
DBIdentifier tableAlias)
|
boolean |
PostgresDictionary.isOwnedSequence(DBIdentifier name,
DBIdentifier schema,
Connection conn)
Uses the native Postgres function pg_get_serial_sequence to determine whether a sequence is owned by the database. |
boolean |
SolidDBDictionary.isSystemIndex(DBIdentifier name,
Table table)
|
boolean |
PostgresDictionary.isSystemIndex(DBIdentifier name,
Table table)
|
boolean |
HSQLDictionary.isSystemIndex(DBIdentifier name,
Table table)
|
boolean |
H2Dictionary.isSystemIndex(DBIdentifier name,
Table table)
|
boolean |
DBDictionary.isSystemIndex(DBIdentifier name,
Table table)
This method is used to filter system indexes from database metadata. |
boolean |
SolidDBDictionary.isSystemSequence(DBIdentifier name,
DBIdentifier schema,
boolean targetSchema)
|
boolean |
PostgresDictionary.isSystemSequence(DBIdentifier name,
DBIdentifier schema,
boolean targetSchema)
|
boolean |
OracleDictionary.isSystemSequence(DBIdentifier name,
DBIdentifier schema,
boolean targetSchema)
|
boolean |
DBDictionary.isSystemSequence(DBIdentifier name,
DBIdentifier schema,
boolean targetSchema)
This method is used to filter system sequences from database metadata. |
boolean |
PostgresDictionary.isSystemSequence(DBIdentifier name,
DBIdentifier schema,
boolean targetSchema,
Connection conn)
|
boolean |
DBDictionary.isSystemSequence(DBIdentifier name,
DBIdentifier schema,
boolean targetSchema,
Connection conn)
This method is used to filter system sequences from database metadata. |
boolean |
PostgresDictionary.isSystemTable(DBIdentifier name,
DBIdentifier schema,
boolean targetSchema)
|
boolean |
DBDictionary.isSystemTable(DBIdentifier name,
DBIdentifier schema,
boolean targetSchema)
This method is used to filter system tables from database metadata. |
protected DBIdentifier |
DBDictionary.makeNameValid(DBIdentifier name,
NameSet set,
int maxLen,
int nameType)
Shortens the given name to the given maximum length, then checks that it is not a reserved word. |
protected DBIdentifier |
DBDictionary.makeNameValid(DBIdentifier name,
NameSet set,
int maxLen,
int nameType,
boolean checkForUniqueness)
Shortens the given name to the given maximum length, then checks that it is not a reserved word. |
String |
DBDictionary.toDBName(DBIdentifier name)
|
String |
DBDictionary.toDBName(DBIdentifier name,
boolean delimit)
|
Uses of DBIdentifier in org.apache.openjpa.persistence.jdbc |
---|
Methods in org.apache.openjpa.persistence.jdbc that return DBIdentifier | |
---|---|
DBIdentifier |
PersistenceMappingDefaults.getTableIdentifier(FieldMapping fm,
Schema schema)
|
Methods in org.apache.openjpa.persistence.jdbc with parameters of type DBIdentifier | |
---|---|
void |
PersistenceMappingDefaults.populateForeignKeyColumn(ValueMapping vm,
DBIdentifier sName,
Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |