Uses of Class
org.apache.openjpa.jdbc.identifier.DBIdentifier
-
Packages that use DBIdentifier Package Description org.apache.openjpa.jdbc.identifier org.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 Abstractionorg.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 Modifier and Type Class Description 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 Modifier and Type Field Description static DBIdentifier
DBIdentifier. NULL
Special NULL indicator for db identifiers.Methods in org.apache.openjpa.jdbc.identifier that return DBIdentifier Modifier and Type Method Description static DBIdentifier
DBIdentifier. append(DBIdentifier name, java.lang.String str)
Returns a new DBIdentifier with the given string appended.DBIdentifier
DBIdentifierUtil. append(DBIdentifier.DBIdentifierType resultId, DBIdentifier... names)
Appends multiple names together using the appropriate name delimiter.DBIdentifier
DBIdentifierUtilImpl. append(DBIdentifier.DBIdentifierType resultId, DBIdentifier... names)
DBIdentifier
DBIdentifier. clone()
Clones an identifier using deep copy.static DBIdentifier
DBIdentifier. combine(DBIdentifier.DBIdentifierType id, java.lang.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, java.lang.String str)
Returns a new DBIdentifier with the given string combined using delimiting rules and appropriate separators.DBIdentifier
DBIdentifierUtil. convertSchemaCase(DBIdentifier schema)
Converts the name of the specified delimiter to the appropriate case as defined by the configuration.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. fromDBName(java.lang.String name, DBIdentifier.DBIdentifierType id)
Converts the name returned by the database to an identifier of the specified type.DBIdentifier
DBIdentifierUtilImpl. fromDBName(java.lang.String name, DBIdentifier.DBIdentifierType id)
Creates a new identifier of a given type based upon the name returned from the database.DBIdentifier
DBIdentifierUtil. getGeneratedKeySequenceName(Column col, int maxLen)
Returns a generated key sequence identifier for the column.DBIdentifier
DBIdentifierUtilImpl. getGeneratedKeySequenceName(Column col, int maxLen)
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
DBIdentifier. getUnqualifiedName()
Returns the unqualified name of this identifier.DBIdentifier
QualifiedDBIdentifier. getUnqualifiedName()
Returns a new unqualified name based on this instance.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. getValidColumnIdentifier(DBIdentifier name, Table table, int maxLen, boolean checkForUniqueness)
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. getValidForeignKeyIdentifier(DBIdentifier name, Table table, Table toTable, 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. getValidIndexIdentifier(DBIdentifier name, Table table, 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. getValidSequenceIdentifier(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. getValidTableIdentifier(DBIdentifier name, Schema schema, 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. getValidUniqueIdentifier(DBIdentifier name, Table table, int maxLen)
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. makeIdentifierValid(DBIdentifier sname, NameSet set, int maxLen, boolean checkForUniqueness)
DBIdentifier
DBIdentifierUtil. makeNameValid(java.lang.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.DBIdentifier
DBIdentifierUtilImpl. makeNameValid(java.lang.String name, NameSet set, int maxLen, int nameType, boolean checkForUniqueness)
static DBIdentifier
DBIdentifier. newCatalog(java.lang.String name)
Constructs a new identifier of type Catalog.static DBIdentifier
DBIdentifier. newCatalog(java.lang.String name, boolean delimit)
Constructs a new identifier of type Catalog ,optionally delimiting the name.static DBIdentifier
DBIdentifier. newColumn(java.lang.String name)
Constructs a new identifier of type Column.static DBIdentifier
DBIdentifier. newColumn(java.lang.String name, boolean delimit)
Constructs a new identifier of type Column,optionally delimiting the name.static DBIdentifier
DBIdentifier. newColumnDefinition(java.lang.String name)
Constructs a new identifier of type Column Definition.static DBIdentifier
DBIdentifier. newConstant(java.lang.String name)
Constructs a new identifier of type Constant.static DBIdentifier
DBIdentifier. newConstraint(java.lang.String name)
Constructs a new identifier of type Constraint.static DBIdentifier
DBIdentifier. newConstraint(java.lang.String name, boolean delimit)
Constructs a new identifier of type Constraint, optionally delimiting the name.static DBIdentifier
DBIdentifier. newDefault(java.lang.String name)
Constructs a new identifier of type Default.static DBIdentifier
DBIdentifier. newForeignKey(java.lang.String name)
Constructs a new identifier of type ForeignKey.static DBIdentifier
DBIdentifier. newForeignKey(java.lang.String name, boolean delimit)
Constructs a new identifier of type ForeignKey, optionally delimiting the name.protected static DBIdentifier
DBIdentifier. newIdentifier(java.lang.String name, DBIdentifier.DBIdentifierType id)
Constructs a new identifier with the provided name and typestatic DBIdentifier
DBIdentifier. newIdentifier(java.lang.String name, DBIdentifier.DBIdentifierType id, boolean toUpper)
Constructs a new identifier with the provided name an type.protected static DBIdentifier
DBIdentifier. newIdentifier(java.lang.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(java.lang.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(java.lang.String name)
Constructs a new identifier of type Index.static DBIdentifier
DBIdentifier. newIndex(java.lang.String name, boolean delimit)
Constructs a new identifier of type Index, optionally delimiting the name.static DBIdentifier
DBIdentifier. newProcedure(java.lang.String name)
static DBIdentifier
DBIdentifier. newSchema(java.lang.String name)
Constructs a new identifier of type Schema.static DBIdentifier
DBIdentifier. newSchema(java.lang.String name, boolean delimit)
Constructs a new identifier of type Schema, optionally delimiting the name.static DBIdentifier
DBIdentifier. newSequence(java.lang.String name)
Constructs a new identifier of type Sequence.static DBIdentifier
DBIdentifier. newSequence(java.lang.String name, boolean delimit)
Constructs a new identifier of type Sequence, optionally delimiting the name.static DBIdentifier
DBIdentifier. newTable(java.lang.String name)
Constructs a new identifier of type Table.static DBIdentifier
DBIdentifier. newTable(java.lang.String name, boolean delimit)
Constructs a new identifier of type Table, optionally delimiting the name.static DBIdentifier
DBIdentifier. preCombine(DBIdentifier name, java.lang.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. removeDelimitersAndMakeUpper(DBIdentifier name)
CombineremoveDelimiters(org.apache.openjpa.jdbc.identifier.DBIdentifier)
withtoUpper(org.apache.openjpa.jdbc.identifier.DBIdentifier, boolean)
in order to save allocations and CPU cycles.static DBIdentifier
DBIdentifier. removeHungarianNotation(DBIdentifier name)
Returns a new DBIdentifier with Hungarian notation removed.static DBIdentifier
DBIdentifier. removeLeading(DBIdentifier name, java.lang.String leadingStr)
Returns a new DBIdentifier with the specified leading string removed.static DBIdentifier[]
DBIdentifier. split(java.lang.String name, DBIdentifier.DBIdentifierType id, java.lang.String delim)
Splits a string delimited by the specified delimiter of a given name type into an array of DBIdentifier objects.static DBIdentifier[]
DBIdentifier. split(DBIdentifier.DBIdentifierType resultType, java.lang.String name)
Splits a given DBIdentifier into multiple DBIdentifiers.static DBIdentifier[]
QualifiedDBIdentifier. splitPath(DBIdentifier sName)
Splits a qualified path into separate identifiers.static DBIdentifier[]
DBIdentifier. toArray(java.lang.String[] columnNames, DBIdentifier.DBIdentifierType id)
Converts the provided set of names to an array of identifiers of the provided typestatic DBIdentifier[]
DBIdentifier. toArray(java.lang.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 lengthMethods in org.apache.openjpa.jdbc.identifier with parameters of type DBIdentifier Modifier and Type Method Description static DBIdentifier
DBIdentifier. append(DBIdentifier name, java.lang.String str)
Returns a new DBIdentifier with the given string appended.DBIdentifier
DBIdentifierUtil. append(DBIdentifier.DBIdentifierType resultId, DBIdentifier... names)
Appends multiple names together using the appropriate name delimiter.DBIdentifier
DBIdentifierUtilImpl. append(DBIdentifier.DBIdentifierType resultId, DBIdentifier... names)
static DBIdentifier
DBIdentifier. combine(DBIdentifier name, java.lang.String str)
Returns a new DBIdentifier with the given string combined using delimiting rules and appropriate separators.DBIdentifier
DBIdentifierUtil. convertSchemaCase(DBIdentifier schema)
Converts the name of the specified delimiter to the appropriate case as defined by the configuration.DBIdentifier
DBIdentifierUtilImpl. convertSchemaCase(DBIdentifier name)
Convert the specified schema name to a name that the database will be able to understand in metadata operations.java.lang.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
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. getValidColumnIdentifier(DBIdentifier name, Table table, int maxLen, boolean checkForUniqueness)
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. getValidForeignKeyIdentifier(DBIdentifier name, Table table, Table toTable, 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. getValidIndexIdentifier(DBIdentifier name, Table table, 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. getValidSequenceIdentifier(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. getValidTableIdentifier(DBIdentifier name, Schema schema, 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. getValidUniqueIdentifier(DBIdentifier name, Table table, int maxLen)
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 java.lang.String
DBIdentifier. join(DBIdentifier... names)
Joins the list of identifiers using the appropriate delimiters and returns a string based identifier.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. makeIdentifierValid(DBIdentifier sname, NameSet set, int maxLen, boolean checkForUniqueness)
static QualifiedDBIdentifier
QualifiedDBIdentifier. newPath(DBIdentifier... names)
Creates a qualified identifier based upon an array of DBIdentifiers.static DBIdentifier
DBIdentifier. preCombine(DBIdentifier name, java.lang.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. removeDelimitersAndMakeUpper(DBIdentifier name)
CombineremoveDelimiters(org.apache.openjpa.jdbc.identifier.DBIdentifier)
withtoUpper(org.apache.openjpa.jdbc.identifier.DBIdentifier, boolean)
in order to save allocations and CPU cycles.static DBIdentifier
DBIdentifier. removeHungarianNotation(DBIdentifier name)
Returns a new DBIdentifier with Hungarian notation removed.static DBIdentifier
DBIdentifier. removeLeading(DBIdentifier name, java.lang.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.java.lang.String
DBIdentifierUtil. toDBName(DBIdentifier name)
Converts the specified identifier to a format required by the database.java.lang.String
DBIdentifierUtil. toDBName(DBIdentifier name, boolean delimit)
Converts the specified identifier to a format required by the database, optionally delimiting the name.java.lang.String
DBIdentifierUtilImpl. toDBName(DBIdentifier name)
Converts the name to a name which can be used within a SQL statement.java.lang.String
DBIdentifierUtilImpl. toDBName(DBIdentifier name, boolean delimit)
Converts the name to a name which can be used within a SQL statement.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 java.lang.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 lengthConstructors in org.apache.openjpa.jdbc.identifier with parameters of type DBIdentifier Constructor Description QualifiedDBIdentifier(DBIdentifier... sNames)
-
Uses of DBIdentifier in org.apache.openjpa.jdbc.kernel
Methods in org.apache.openjpa.jdbc.kernel that return DBIdentifier Modifier and Type Method Description DBIdentifier
TableJDBCSeq. getPrimaryKeyColumnIdentifier()
DBIdentifier
NativeJDBCSeq. getSchemaIdentifier()
DBIdentifier
TableJDBCSeq. getUniqueConstraintIdentifier()
DBIdentifier
TableJDBCSeq. resolveTableIdentifier(ClassMapping mapping, Table table)
Resolve a fully qualified table nameMethods in org.apache.openjpa.jdbc.kernel with parameters of type DBIdentifier Modifier and Type Method Description protected java.util.List<java.lang.Object>
PreparedStatementManagerImpl. getGeneratedKeys(java.sql.PreparedStatement stmnt, DBIdentifier[] autoAssignColNames)
protected java.util.List<java.lang.Object>
PreparedStatementManagerImpl. populateAutoAssignCols(java.sql.PreparedStatement stmnt, Column[] autoAssign, DBIdentifier[] autoAssignColNames, RowImpl row)
This method will only be called when there is auto assign columns.protected void
PreparedStatementManagerImpl. setObjectId(java.util.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 Modifier and Type Method Description void
ClassMappingInfo. addIndex(DBIdentifier table, Index idx)
Add index for the given table.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)
java.util.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
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.ForeignKey
MappingDefaultsImpl. getForeignKey(ValueMapping vm, DBIdentifier name, Table local, Table foreign, boolean inverse)
ForeignKey
NoneMappingDefaults. getForeignKey(ValueMapping vm, DBIdentifier name, Table local, Table foreign, boolean inverse)
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.Index
MappingDefaultsImpl. getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)
Index
NoneMappingDefaults. getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)
Index
ValueMappingInfo. getIndex(ValueMapping val, DBIdentifier name, boolean adapt)
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)
java.util.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
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
MappingDefaultsImpl. getUnique(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)
Unique
NoneMappingDefaults. getUnique(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)
Unique
ValueMappingInfo. getUnique(ValueMapping val, DBIdentifier name, boolean adapt)
Unique[]
ClassMappingInfo. getUniques(DBIdentifier table)
Get the unique constraints of the given primary or secondary table.void
FieldMapping. mapConstraints(DBIdentifier name, boolean adapt)
void
ValueMapping. mapConstraints(DBIdentifier name, boolean adapt)
Map indexes and constraints for this value, using the currentValueMappingInfo
.void
ValueMappingImpl. mapConstraints(DBIdentifier name, boolean adapt)
void
MappingDefaults. populateColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)
Fill in default information for the given value columns.void
MappingDefaultsImpl. populateColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)
void
NoneMappingDefaults. populateColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)
void
MappingDefaults. populateForeignKeyColumn(ValueMapping vm, DBIdentifier name, Table local, Table foreign, Column col, java.lang.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.void
MappingDefaultsImpl. populateForeignKeyColumn(ValueMapping vm, DBIdentifier name, Table local, Table foreign, Column col, java.lang.Object target, boolean inverse, int pos, int cols)
void
NoneMappingDefaults. populateForeignKeyColumn(ValueMapping vm, DBIdentifier name, Table local, Table foreign, Column col, java.lang.Object target, boolean inverse, int pos, int cols)
boolean
MappingDefaults. populateNullIndicatorColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)
Fill in default information for the given null indicator columns.boolean
MappingDefaultsImpl. populateNullIndicatorColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)
boolean
NoneMappingDefaults. populateNullIndicatorColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)
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, java.util.List<Column> cols)
void
SequenceMapping. setSequenceColumnIdentifier(DBIdentifier sequenceColumn)
void
ClassMappingInfo. setTableIdentifier(DBIdentifier table)
void
FieldMappingInfo. setTableIdentifier(DBIdentifier tableName)
void
SequenceMapping. 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 Constructor Description 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 Modifier and Type Method Description Column[]
BlobValueHandler. map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt)
Column[]
ByteArrayValueHandler. map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt)
Column[]
CharArrayStreamValueHandler. map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt)
Column[]
CharArrayValueHandler. map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt)
Column[]
ClobValueHandler. map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt)
Column[]
ElementEmbedValueHandler. map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt)
protected void
EmbedValueHandler. map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt, java.util.List cols, java.util.List args)
Maps embedded value and gathers columns and arguments into given lists.Column[]
EnumValueHandler. map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt)
Column[]
ImmutableValueHandler. map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt)
Column[]
ObjectIdValueHandler. map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt)
Column[]
UntypedPCValueHandler. map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt)
Column[]
XMLValueHandler. map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt)
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 Modifier and Type Method Description 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
LazySchemaFactory. findSequence(DBIdentifier name)
Sequence
SchemaGroup. findSequence(DBIdentifier name)
Table
DynamicSchemaFactory. findTable(DBIdentifier name)
Table
LazySchemaFactory. 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 tableName, java.sql.Connection conn, java.sql.DatabaseMetaData meta)
void
SchemaGenerator. generateIndexes(DBIdentifier schemaName, DBIdentifier[] tableNames)
Generate index information for the given schema.void
SchemaGenerator. generateIndexes(DBIdentifier schemaName, DBIdentifier tableName, java.sql.Connection conn, java.sql.DatabaseMetaData meta)
void
SchemaGenerator. generatePrimaryKeys(DBIdentifier schemaName, DBIdentifier[] tableNames)
Generate primary key information for the given schema.void
SchemaGenerator. generatePrimaryKeys(DBIdentifier schemaName, DBIdentifier tableName, java.sql.Connection conn, java.sql.DatabaseMetaData meta)
void
SchemaGenerator. generateSchema(DBIdentifier name, DBIdentifier[] tableNames)
Add a fully-constructedSchema
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, java.sql.Connection conn, java.sql.DatabaseMetaData meta)
void
SchemaGenerator. generateTables(DBIdentifier schemaName, DBIdentifier tableName, java.sql.Connection conn, java.sql.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
DynamicSchemaFactory. newColumn(DBIdentifier name, Table table)
protected Column
SchemaGroup. 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
DynamicSchemaFactory. newTable(DBIdentifier name, Schema schema)
protected Table
SchemaGroup. 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
Column. setIdentifier(DBIdentifier name)
void
Constraint. setIdentifier(DBIdentifier name)
void
Schema. setIdentifier(DBIdentifier name)
void
Sequence. setIdentifier(DBIdentifier name)
void
Table. setIdentifier(DBIdentifier name)
Set the name of the table.void
Unique. setIdentifier(DBIdentifier name)
void
ForeignKey. setPrimaryKeyColumnIdentifier(DBIdentifier pkColumnName)
void
ForeignKey. setPrimaryKeySchemaIdentifier(DBIdentifier pkSchemaName)
void
ForeignKey. setPrimaryKeyTableIdentifier(DBIdentifier pkTableName)
void
Column. setSchemaIdentifier(DBIdentifier name)
void
Constraint. setSchemaIdentifier(DBIdentifier schema)
void
Sequence. setSchemaIdentifier(DBIdentifier name)
void
Table. setSchemaIdentifier(DBIdentifier name)
void
Column. setTableIdentifier(DBIdentifier name)
void
Constraint. 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 Constructor Description Column(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 Modifier and Type Method Description DBIdentifier
DBDictionary. fromDBName(java.lang.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 byDBDictionary.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.DBIdentifier
DBDictionary. processDBColumnName(DBIdentifier name)
Methods in org.apache.openjpa.jdbc.sql with parameters of type DBIdentifier Modifier and Type Method Description SQLBuffer
SQLBuffer. append(DBIdentifier name)
java.lang.String
DBDictionary. convertSchemaCase(DBIdentifier objectName)
Convert the specified schema name to a name that the database will be able to understand.java.lang.String
SolidDBDictionary. convertSchemaCase(DBIdentifier objectName)
void
DB2Dictionary. createIndexIfNecessary(Schema schema, DBIdentifier table, Column pkColumn)
void
DBDictionary. createIndexIfNecessary(Schema schema, DBIdentifier table, Column pkColumn)
protected java.lang.String
DBDictionary. getCatalogNameForMetadata(DBIdentifier catalogName)
Returns the catalog name that will be used for obtaining information fromDatabaseMetaData
.protected java.lang.String
DBDictionary. getColumnNameForMetadata(DBIdentifier columnName)
Returns the column name that will be used for obtaining information fromDatabaseMetaData
.protected java.lang.String
InterbaseDictionary. getColumnNameForMetadata(DBIdentifier columnName)
Column[]
DBDictionary. getColumns(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, DBIdentifier columnName, java.sql.Connection conn)
Reflect on the schema to find columns matching the given table and column patterns.Column[]
FoxProDictionary. getColumns(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, DBIdentifier columnName, java.sql.Connection conn)
Column[]
H2Dictionary. getColumns(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, DBIdentifier columnName, java.sql.Connection conn)
Column[]
HSQLDictionary. getColumns(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, DBIdentifier columnName, java.sql.Connection conn)
Column[]
InformixDictionary. getColumns(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, DBIdentifier columnName, java.sql.Connection conn)
Column[]
OracleDictionary. getColumns(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, DBIdentifier columnName, java.sql.Connection conn)
Column[]
PointbaseDictionary. getColumns(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, DBIdentifier columnName, java.sql.Connection conn)
Column[]
SQLServerDictionary. getColumns(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, DBIdentifier columnName, java.sql.Connection conn)
ForeignKey[]
DBDictionary. getImportedKeys(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, java.sql.Connection conn)
Reflect on the schema to return foreign keys imported by the given table pattern.ForeignKey[]
DBDictionary. getImportedKeys(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, java.sql.Connection conn, boolean partialKeys)
Reflect on the schema to return full foreign keys imported by the given table pattern.ForeignKey[]
OracleDictionary. getImportedKeys(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, java.sql.Connection conn, boolean partialKeys)
Index[]
DBDictionary. getIndexInfo(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, boolean unique, boolean approx, java.sql.Connection conn)
Reflect on the schema to find indexes matching the given table pattern.Index[]
OracleDictionary. getIndexInfo(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, boolean unique, boolean approx, java.sql.Connection conn)
PrimaryKey[]
DBDictionary. getPrimaryKeys(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, java.sql.Connection conn)
Reflect on the schema to find primary keys for the given table pattern.PrimaryKey[]
FoxProDictionary. getPrimaryKeys(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, java.sql.Connection conn)
PrimaryKey[]
OracleDictionary. getPrimaryKeys(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, java.sql.Connection conn)
protected PrimaryKey[]
DBDictionary. getPrimaryKeysFromBestRowIdentifier(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, java.sql.Connection conn)
Reflect on the schema to find primary keys for the given table pattern.protected PrimaryKey[]
DBDictionary. getPrimaryKeysFromGetPrimaryKeys(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, java.sql.Connection conn)
Reflect on the schema to find primary keys for the given table pattern.protected java.lang.String
DBDictionary. getSchemaNameForMetadata(DBIdentifier schemaName)
Returns the schema name that will be used for obtaining information fromDatabaseMetaData
.Sequence[]
DBDictionary. getSequences(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier sequenceName, java.sql.Connection conn)
protected java.lang.String
DB2Dictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)
protected java.lang.String
DBDictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)
protected java.lang.String
FirebirdDictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)
protected java.lang.String
H2Dictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)
protected java.lang.String
HSQLDictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)
protected java.lang.String
IngresDictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)
protected java.lang.String
OracleDictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)
protected java.lang.String
PostgresDictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)
protected java.lang.String
SolidDBDictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)
StoredProcedure
DBDictionary. getStoredProcedure(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schema, java.lang.String procedure)
Gets the metadata of the stored procedure by the given name either from the cached version or by enquiring the database.protected java.lang.String
DBDictionary. getTableNameForMetadata(DBIdentifier tableName)
Returns the table name that will be used for obtaining information fromDatabaseMetaData
.protected java.lang.String
FirebirdDictionary. getTableNameForMetadata(DBIdentifier tableName)
protected java.lang.String
InterbaseDictionary. getTableNameForMetadata(DBIdentifier tableName)
Table[]
DBDictionary. getTables(java.sql.DatabaseMetaData meta, DBIdentifier sqlCatalog, DBIdentifier sqlSchemaName, DBIdentifier sqlTableName, java.sql.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, java.sql.Connection conn)
Uses the native Postgres function pg_get_serial_sequence to determine whether a sequence is owned by the database.boolean
DBDictionary. isSystemIndex(DBIdentifier name, Table table)
This method is used to filter system indexes from database metadata.boolean
H2Dictionary. isSystemIndex(DBIdentifier name, Table table)
boolean
HSQLDictionary. isSystemIndex(DBIdentifier name, Table table)
boolean
PostgresDictionary. isSystemIndex(DBIdentifier name, Table table)
boolean
SolidDBDictionary. isSystemIndex(DBIdentifier name, Table table)
boolean
DBDictionary. isSystemSequence(DBIdentifier name, DBIdentifier schema, boolean targetSchema)
This method is used to filter system sequences from database metadata.boolean
DBDictionary. isSystemSequence(DBIdentifier name, DBIdentifier schema, boolean targetSchema, java.sql.Connection conn)
This method is used to filter system sequences from database metadata.boolean
OracleDictionary. isSystemSequence(DBIdentifier name, DBIdentifier schema, boolean targetSchema)
boolean
PostgresDictionary. isSystemSequence(DBIdentifier name, DBIdentifier schema, boolean targetSchema)
boolean
PostgresDictionary. isSystemSequence(DBIdentifier name, DBIdentifier schema, boolean targetSchema, java.sql.Connection conn)
boolean
SolidDBDictionary. isSystemSequence(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.boolean
PostgresDictionary. isSystemTable(DBIdentifier name, DBIdentifier schema, boolean targetSchema)
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.DBIdentifier
DBDictionary. processDBColumnName(DBIdentifier name)
void
StoredProcedure. setCatalog(DBIdentifier catalog)
void
StoredProcedure. setSchema(DBIdentifier schema)
java.lang.String
DBDictionary. toDBName(DBIdentifier name)
java.lang.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 Modifier and Type Method Description DBIdentifier
PersistenceMappingDefaults. getTableIdentifier(FieldMapping fm, Schema schema)
Methods in org.apache.openjpa.persistence.jdbc with parameters of type DBIdentifier Modifier and Type Method Description void
PersistenceMappingDefaults. populateForeignKeyColumn(ValueMapping vm, DBIdentifier sName, Table local, Table foreign, Column col, java.lang.Object target, boolean inverse, int pos, int cols)
-