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 classQualifiedDBIdentifierThis 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 DBIdentifierDBIdentifier. NULLSpecial NULL indicator for db identifiers.Methods in org.apache.openjpa.jdbc.identifier that return DBIdentifier Modifier and Type Method Description static DBIdentifierDBIdentifier. append(DBIdentifier name, java.lang.String str)Returns a new DBIdentifier with the given string appended.DBIdentifierDBIdentifierUtil. append(DBIdentifier.DBIdentifierType resultId, DBIdentifier... names)Appends multiple names together using the appropriate name delimiter.DBIdentifierDBIdentifierUtilImpl. append(DBIdentifier.DBIdentifierType resultId, DBIdentifier... names)DBIdentifierDBIdentifier. clone()Clones an identifier using deep copy.static DBIdentifierDBIdentifier. 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 DBIdentifierDBIdentifier. combine(DBIdentifier name, java.lang.String str)Returns a new DBIdentifier with the given string combined using delimiting rules and appropriate separators.DBIdentifierDBIdentifierUtil. convertSchemaCase(DBIdentifier schema)Converts the name of the specified delimiter to the appropriate case as defined by the configuration.DBIdentifierDBIdentifierUtilImpl. convertSchemaCase(DBIdentifier name)Convert the specified schema name to a name that the database will be able to understand in metadata operations.DBIdentifierDBIdentifierUtil. fromDBName(java.lang.String name, DBIdentifier.DBIdentifierType id)Converts the name returned by the database to an identifier of the specified type.DBIdentifierDBIdentifierUtilImpl. fromDBName(java.lang.String name, DBIdentifier.DBIdentifierType id)Creates a new identifier of a given type based upon the name returned from the database.DBIdentifierDBIdentifierUtil. getGeneratedKeySequenceName(Column col, int maxLen)Returns a generated key sequence identifier for the column.DBIdentifierDBIdentifierUtilImpl. getGeneratedKeySequenceName(Column col, int maxLen)DBIdentifierQualifiedDBIdentifier. getIdentifier()Returns this object as a DBIdentifier.DBIdentifierQualifiedDBIdentifier. getObjectTableName()Gets the object table name component of the path, if the path is a table qualified identifier such as a constraint or column.DBIdentifierQualifiedDBIdentifier. getSchemaName()Gets the schema component of the path.DBIdentifierDBIdentifier. getUnqualifiedName()Returns the unqualified name of this identifier.DBIdentifierQualifiedDBIdentifier. getUnqualifiedName()Returns a new unqualified name based on this instance.DBIdentifierDBIdentifierUtil. getValidColumnIdentifier(DBIdentifier name, Table table, int maxLen, boolean checkForUniqueness)Returns a valid column name/identifier, based upon the configuration and provided parameters.DBIdentifierDBIdentifierUtilImpl. getValidColumnIdentifier(DBIdentifier name, Table table, int maxLen, boolean checkForUniqueness)DBIdentifierDBIdentifierUtil. getValidForeignKeyIdentifier(DBIdentifier name, Table table, Table toTable, int maxLen)Returns a valid foreign key identifier, based upon the configuration and provided parameters.DBIdentifierDBIdentifierUtilImpl. getValidForeignKeyIdentifier(DBIdentifier name, Table table, Table toTable, int maxLen)DBIdentifierDBIdentifierUtil. getValidIndexIdentifier(DBIdentifier name, Table table, int maxLen)Returns a valid index identifier, based upon the configuration and provided parameters.DBIdentifierDBIdentifierUtilImpl. getValidIndexIdentifier(DBIdentifier name, Table table, int maxLen)DBIdentifierDBIdentifierUtil. getValidSequenceIdentifier(DBIdentifier name, Schema schema, int maxLen)Returns a valid index identifier, based upon the configuration and provided parameters.DBIdentifierDBIdentifierUtilImpl. getValidSequenceIdentifier(DBIdentifier name, Schema schema, int maxLen)DBIdentifierDBIdentifierUtil. getValidTableIdentifier(DBIdentifier name, Schema schema, int maxLen)Returns a valid table identifier, based upon the configuration and provided parameters.DBIdentifierDBIdentifierUtilImpl. getValidTableIdentifier(DBIdentifier name, Schema schema, int maxLen)DBIdentifierDBIdentifierUtil. getValidUniqueIdentifier(DBIdentifier name, Table table, int maxLen)Returns a valid unique constraint identifier, based upon the configuration and provided parameters.DBIdentifierDBIdentifierUtilImpl. getValidUniqueIdentifier(DBIdentifier name, Table table, int maxLen)DBIdentifierDBIdentifierUtil. 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.DBIdentifierDBIdentifierUtilImpl. makeIdentifierValid(DBIdentifier sname, NameSet set, int maxLen, boolean checkForUniqueness)DBIdentifierDBIdentifierUtil. 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.DBIdentifierDBIdentifierUtilImpl. makeNameValid(java.lang.String name, NameSet set, int maxLen, int nameType, boolean checkForUniqueness)static DBIdentifierDBIdentifier. newCatalog(java.lang.String name)Constructs a new identifier of type Catalog.static DBIdentifierDBIdentifier. newCatalog(java.lang.String name, boolean delimit)Constructs a new identifier of type Catalog ,optionally delimiting the name.static DBIdentifierDBIdentifier. newColumn(java.lang.String name)Constructs a new identifier of type Column.static DBIdentifierDBIdentifier. newColumn(java.lang.String name, boolean delimit)Constructs a new identifier of type Column,optionally delimiting the name.static DBIdentifierDBIdentifier. newColumnDefinition(java.lang.String name)Constructs a new identifier of type Column Definition.static DBIdentifierDBIdentifier. newConstant(java.lang.String name)Constructs a new identifier of type Constant.static DBIdentifierDBIdentifier. newConstraint(java.lang.String name)Constructs a new identifier of type Constraint.static DBIdentifierDBIdentifier. newConstraint(java.lang.String name, boolean delimit)Constructs a new identifier of type Constraint, optionally delimiting the name.static DBIdentifierDBIdentifier. newDefault(java.lang.String name)Constructs a new identifier of type Default.static DBIdentifierDBIdentifier. newForeignKey(java.lang.String name)Constructs a new identifier of type ForeignKey.static DBIdentifierDBIdentifier. newForeignKey(java.lang.String name, boolean delimit)Constructs a new identifier of type ForeignKey, optionally delimiting the name.protected static DBIdentifierDBIdentifier. newIdentifier(java.lang.String name, DBIdentifier.DBIdentifierType id)Constructs a new identifier with the provided name and typestatic DBIdentifierDBIdentifier. newIdentifier(java.lang.String name, DBIdentifier.DBIdentifierType id, boolean toUpper)Constructs a new identifier with the provided name an type.protected static DBIdentifierDBIdentifier. 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 DBIdentifierDBIdentifier. 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 DBIdentifierDBIdentifier. newIndex(java.lang.String name)Constructs a new identifier of type Index.static DBIdentifierDBIdentifier. newIndex(java.lang.String name, boolean delimit)Constructs a new identifier of type Index, optionally delimiting the name.static DBIdentifierDBIdentifier. newProcedure(java.lang.String name)static DBIdentifierDBIdentifier. newSchema(java.lang.String name)Constructs a new identifier of type Schema.static DBIdentifierDBIdentifier. newSchema(java.lang.String name, boolean delimit)Constructs a new identifier of type Schema, optionally delimiting the name.static DBIdentifierDBIdentifier. newSequence(java.lang.String name)Constructs a new identifier of type Sequence.static DBIdentifierDBIdentifier. newSequence(java.lang.String name, boolean delimit)Constructs a new identifier of type Sequence, optionally delimiting the name.static DBIdentifierDBIdentifier. newTable(java.lang.String name)Constructs a new identifier of type Table.static DBIdentifierDBIdentifier. newTable(java.lang.String name, boolean delimit)Constructs a new identifier of type Table, optionally delimiting the name.static DBIdentifierDBIdentifier. preCombine(DBIdentifier name, java.lang.String prefix)Returns a new identifier with a combined prefix and name using the standard name concatenation character ('_').static DBIdentifierDBIdentifier. removeDelimiters(DBIdentifier name)Returns a new identifier with delimiters removed.static DBIdentifierDBIdentifier. 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 DBIdentifierDBIdentifier. removeHungarianNotation(DBIdentifier name)Returns a new DBIdentifier with Hungarian notation removed.static DBIdentifierDBIdentifier. 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 DBIdentifierDBIdentifier. toLower(DBIdentifier name)Returns a new DBIdentifier converted to lower case - if not delimited.static DBIdentifierDBIdentifier. toLower(DBIdentifier name, boolean force)Returns a new DBIdentifier converted to lower case.static DBIdentifierDBIdentifier. toUpper(DBIdentifier name)Returns a new DBIdentifier converted to upper case - if not delimited.static DBIdentifierDBIdentifier. toUpper(DBIdentifier name, boolean force)Returns a new DBIdentifier converted to upper case.static DBIdentifierDBIdentifier. trim(DBIdentifier name)Returns a new delimiter with leading and trailing spaces removed.static DBIdentifierDBIdentifier. trimToNull(DBIdentifier name)Returns a copy of an identifier with name trimmed to null.static DBIdentifierDBIdentifier. 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 DBIdentifierDBIdentifier. append(DBIdentifier name, java.lang.String str)Returns a new DBIdentifier with the given string appended.DBIdentifierDBIdentifierUtil. append(DBIdentifier.DBIdentifierType resultId, DBIdentifier... names)Appends multiple names together using the appropriate name delimiter.DBIdentifierDBIdentifierUtilImpl. append(DBIdentifier.DBIdentifierType resultId, DBIdentifier... names)static DBIdentifierDBIdentifier. combine(DBIdentifier name, java.lang.String str)Returns a new DBIdentifier with the given string combined using delimiting rules and appropriate separators.DBIdentifierDBIdentifierUtil. convertSchemaCase(DBIdentifier schema)Converts the name of the specified delimiter to the appropriate case as defined by the configuration.DBIdentifierDBIdentifierUtilImpl. convertSchemaCase(DBIdentifier name)Convert the specified schema name to a name that the database will be able to understand in metadata operations.java.lang.StringDBIdentifierUtilImpl. delimit(DBIdentifier name, boolean force)static booleanDBIdentifier. equal(DBIdentifier name1, DBIdentifier name2)Static equality method for comparing two identifiers.booleanDBIdentifier. equalsIgnoreCase(DBIdentifier name)Equality operator which ignores case.static booleanDBIdentifier. equalsIgnoreCase(DBIdentifier name1, DBIdentifier name2)Static equality operator which ignores case.static QualifiedDBIdentifierQualifiedDBIdentifier. getPath(DBIdentifier sName)Creates a qualified path from an identifier.DBIdentifierDBIdentifierUtil. getValidColumnIdentifier(DBIdentifier name, Table table, int maxLen, boolean checkForUniqueness)Returns a valid column name/identifier, based upon the configuration and provided parameters.DBIdentifierDBIdentifierUtilImpl. getValidColumnIdentifier(DBIdentifier name, Table table, int maxLen, boolean checkForUniqueness)DBIdentifierDBIdentifierUtil. getValidForeignKeyIdentifier(DBIdentifier name, Table table, Table toTable, int maxLen)Returns a valid foreign key identifier, based upon the configuration and provided parameters.DBIdentifierDBIdentifierUtilImpl. getValidForeignKeyIdentifier(DBIdentifier name, Table table, Table toTable, int maxLen)DBIdentifierDBIdentifierUtil. getValidIndexIdentifier(DBIdentifier name, Table table, int maxLen)Returns a valid index identifier, based upon the configuration and provided parameters.DBIdentifierDBIdentifierUtilImpl. getValidIndexIdentifier(DBIdentifier name, Table table, int maxLen)DBIdentifierDBIdentifierUtil. getValidSequenceIdentifier(DBIdentifier name, Schema schema, int maxLen)Returns a valid index identifier, based upon the configuration and provided parameters.DBIdentifierDBIdentifierUtilImpl. getValidSequenceIdentifier(DBIdentifier name, Schema schema, int maxLen)DBIdentifierDBIdentifierUtil. getValidTableIdentifier(DBIdentifier name, Schema schema, int maxLen)Returns a valid table identifier, based upon the configuration and provided parameters.DBIdentifierDBIdentifierUtilImpl. getValidTableIdentifier(DBIdentifier name, Schema schema, int maxLen)DBIdentifierDBIdentifierUtil. getValidUniqueIdentifier(DBIdentifier name, Table table, int maxLen)Returns a valid unique constraint identifier, based upon the configuration and provided parameters.DBIdentifierDBIdentifierUtilImpl. getValidUniqueIdentifier(DBIdentifier name, Table table, int maxLen)static booleanDBIdentifier. isEmpty(DBIdentifier name)Returns true if the identifier is null or the name is null or empty.static booleanDBIdentifier. isNull(DBIdentifier name)Returns true if the identifier is null.static java.lang.StringDBIdentifier. join(DBIdentifier... names)Joins the list of identifiers using the appropriate delimiters and returns a string based identifier.DBIdentifierDBIdentifierUtil. 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.DBIdentifierDBIdentifierUtilImpl. makeIdentifierValid(DBIdentifier sname, NameSet set, int maxLen, boolean checkForUniqueness)static QualifiedDBIdentifierQualifiedDBIdentifier. newPath(DBIdentifier... names)Creates a qualified identifier based upon an array of DBIdentifiers.static DBIdentifierDBIdentifier. preCombine(DBIdentifier name, java.lang.String prefix)Returns a new identifier with a combined prefix and name using the standard name concatenation character ('_').static DBIdentifierDBIdentifier. removeDelimiters(DBIdentifier name)Returns a new identifier with delimiters removed.static DBIdentifierDBIdentifier. 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 DBIdentifierDBIdentifier. removeHungarianNotation(DBIdentifier name)Returns a new DBIdentifier with Hungarian notation removed.static DBIdentifierDBIdentifier. removeLeading(DBIdentifier name, java.lang.String leadingStr)Returns a new DBIdentifier with the specified leading string removed.voidDBIdentifier. setName(DBIdentifier name)Set the name of this identifier based upon a given identifier.voidQualifiedDBIdentifier. 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.voidQualifiedDBIdentifier. setPath(DBIdentifier... sNames)Set the identifiers that make up the path.voidQualifiedDBIdentifier. 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.StringDBIdentifierUtil. toDBName(DBIdentifier name)Converts the specified identifier to a format required by the database.java.lang.StringDBIdentifierUtil. toDBName(DBIdentifier name, boolean delimit)Converts the specified identifier to a format required by the database, optionally delimiting the name.java.lang.StringDBIdentifierUtilImpl. toDBName(DBIdentifier name)Converts the name to a name which can be used within a SQL statement.java.lang.StringDBIdentifierUtilImpl. toDBName(DBIdentifier name, boolean delimit)Converts the name to a name which can be used within a SQL statement.static DBIdentifierDBIdentifier. toLower(DBIdentifier name)Returns a new DBIdentifier converted to lower case - if not delimited.static DBIdentifierDBIdentifier. 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 DBIdentifierDBIdentifier. toUpper(DBIdentifier name)Returns a new DBIdentifier converted to upper case - if not delimited.static DBIdentifierDBIdentifier. toUpper(DBIdentifier name, boolean force)Returns a new DBIdentifier converted to upper case.static DBIdentifierDBIdentifier. trim(DBIdentifier name)Returns a new delimiter with leading and trailing spaces removed.static DBIdentifierDBIdentifier. trimToNull(DBIdentifier name)Returns a copy of an identifier with name trimmed to null.static DBIdentifierDBIdentifier. 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 DBIdentifierTableJDBCSeq. getPrimaryKeyColumnIdentifier()DBIdentifierNativeJDBCSeq. getSchemaIdentifier()DBIdentifierTableJDBCSeq. getUniqueConstraintIdentifier()DBIdentifierTableJDBCSeq. 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 voidPreparedStatementManagerImpl. setObjectId(java.util.List vals, Column[] autoAssign, DBIdentifier[] autoAssignColNames, RowImpl row)voidTableJDBCSeq. 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 voidClassMappingInfo. addIndex(DBIdentifier table, Index idx)Add index for the given table.voidClassMappingInfo. addSecondaryTable(DBIdentifier second)voidClassMappingInfo. addUnique(DBIdentifier table, Unique unique)Add a unique constraint for the given table.TableMappingInfo. 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)ForeignKeyMappingDefaults. 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.ForeignKeyMappingDefaultsImpl. getForeignKey(ValueMapping vm, DBIdentifier name, Table local, Table foreign, boolean inverse)ForeignKeyNoneMappingDefaults. getForeignKey(ValueMapping vm, DBIdentifier name, Table local, Table foreign, boolean inverse)IndexMappingDefaults. 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.IndexMappingDefaultsImpl. getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)IndexNoneMappingDefaults. getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)IndexValueMappingInfo. getIndex(ValueMapping val, DBIdentifier name, boolean adapt)protected DBIdentifierMappingDefaultsImpl. getIndexName(DBIdentifier name, Table table, Column[] cols)ForeignKeyValueMappingInfo. getInverseTypeJoin(ValueMapping val, DBIdentifier name, boolean adapt)ColumnValueMappingInfo. getNullIndicatorColumn(ValueMapping val, DBIdentifier name, Table table, boolean adapt)DBIdentifierClassMappingInfo. getSecondaryTableIdentifier(DBIdentifier tableName)java.util.List<Column>ClassMappingInfo. getSecondaryTableJoinColumns(DBIdentifier tableName)TableClassMappingInfo. getTable(ClassMapping cls, DBIdentifier tableName, boolean adapt)Return the named table for the given class.ForeignKeyValueMappingInfo. getTypeJoin(ValueMapping val, DBIdentifier name, boolean inversable, boolean adapt)UniqueMappingDefaults. 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.UniqueMappingDefaultsImpl. getUnique(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)UniqueNoneMappingDefaults. getUnique(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)UniqueValueMappingInfo. getUnique(ValueMapping val, DBIdentifier name, boolean adapt)Unique[]ClassMappingInfo. getUniques(DBIdentifier table)Get the unique constraints of the given primary or secondary table.voidFieldMapping. mapConstraints(DBIdentifier name, boolean adapt)voidValueMapping. mapConstraints(DBIdentifier name, boolean adapt)Map indexes and constraints for this value, using the currentValueMappingInfo.voidValueMappingImpl. mapConstraints(DBIdentifier name, boolean adapt)voidMappingDefaults. populateColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)Fill in default information for the given value columns.voidMappingDefaultsImpl. populateColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)voidNoneMappingDefaults. populateColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)voidMappingDefaults. 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.voidMappingDefaultsImpl. populateForeignKeyColumn(ValueMapping vm, DBIdentifier name, Table local, Table foreign, Column col, java.lang.Object target, boolean inverse, int pos, int cols)voidNoneMappingDefaults. populateForeignKeyColumn(ValueMapping vm, DBIdentifier name, Table local, Table foreign, Column col, java.lang.Object target, boolean inverse, int pos, int cols)booleanMappingDefaults. populateNullIndicatorColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)Fill in default information for the given null indicator columns.booleanMappingDefaultsImpl. populateNullIndicatorColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)booleanNoneMappingDefaults. populateNullIndicatorColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)voidMappingDefaultsImpl. setDataStoreIdColumnIdentifier(DBIdentifier dsIdName)voidMappingDefaultsImpl. setDiscriminatorColumnIdentifier(DBIdentifier discName)voidMappingDefaultsImpl. setNullIndicatorColumnIdentifier(DBIdentifier nullIndName)voidMappingDefaultsImpl. setOrderColumnIdentifier(DBIdentifier orderName)voidSequenceMapping. setPrimaryKeyColumnIdentifier(DBIdentifier primaryKeyColumn)voidClassMappingInfo. setSchemaIdentifier(DBIdentifier schema)voidClassMappingInfo. setSecondaryTableJoinColumns(DBIdentifier tableName, java.util.List<Column> cols)voidSequenceMapping. setSequenceColumnIdentifier(DBIdentifier sequenceColumn)voidClassMappingInfo. setTableIdentifier(DBIdentifier table)voidFieldMappingInfo. setTableIdentifier(DBIdentifier tableName)voidSequenceMapping. setTableIdentifier(DBIdentifier table)voidSequenceMapping. setUniqueColumnsIdentifier(DBIdentifier[] cols)voidSequenceMapping. setUniqueConstraintIdentifier(DBIdentifier name)voidMappingDefaultsImpl. 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 voidEmbedValueHandler. 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 voidRelationStrategies. 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 ColumnTable. addColumn(DBIdentifier name)ColumnTable. addColumn(DBIdentifier name, DBIdentifier validName)voidTable. addCorrectedColumnName(DBIdentifier name, boolean validate)ForeignKeyTable. addForeignKey(DBIdentifier name)IndexTable. addIndex(DBIdentifier name)protected voidNameSet. addName(DBIdentifier name, boolean validate)Attempt to add the given name to the set.PrimaryKeyTable. addPrimaryKey(DBIdentifier name)SchemaSchemaGroup. addSchema(DBIdentifier name)Add a schema to the group.SequenceSchema. addSequence(DBIdentifier name)TableSchema. addTable(DBIdentifier name)TableSchema. addTable(DBIdentifier name, DBIdentifier validName)UniqueTable. addUnique(DBIdentifier name)booleanTable. containsColumn(DBIdentifier name)booleanTable. containsColumn(DBIdentifier name, DBDictionary dict)SequenceLazySchemaFactory. findSequence(DBIdentifier name)SequenceSchemaGroup. findSequence(DBIdentifier name)TableDynamicSchemaFactory. findTable(DBIdentifier name)TableLazySchemaFactory. findTable(DBIdentifier name)TableSchemaGroup. findTable(Schema inSchema, DBIdentifier name)TableSchemaGroup. findTable(Schema inSchema, DBIdentifier name, DBIdentifier defaultSchemaName)TableSchemaGroup. findTable(Schema inSchema, QualifiedDBIdentifier path, DBIdentifier defaultSchemaName)voidSchemaGenerator. generateForeignKeys(DBIdentifier schemaName, DBIdentifier[] tableNames)Generate foreign key information for the given schema.voidSchemaGenerator. generateForeignKeys(DBIdentifier schemaName, DBIdentifier tableName, java.sql.Connection conn, java.sql.DatabaseMetaData meta)voidSchemaGenerator. generateIndexes(DBIdentifier schemaName, DBIdentifier[] tableNames)Generate index information for the given schema.voidSchemaGenerator. generateIndexes(DBIdentifier schemaName, DBIdentifier tableName, java.sql.Connection conn, java.sql.DatabaseMetaData meta)voidSchemaGenerator. generatePrimaryKeys(DBIdentifier schemaName, DBIdentifier[] tableNames)Generate primary key information for the given schema.voidSchemaGenerator. generatePrimaryKeys(DBIdentifier schemaName, DBIdentifier tableName, java.sql.Connection conn, java.sql.DatabaseMetaData meta)voidSchemaGenerator. generateSchema(DBIdentifier name, DBIdentifier[] tableNames)Add a fully-constructedSchemamatching the given database schema to the current group.voidSchemaGenerator. generateSchemas(DBIdentifier[] schemasAndTables)Generate the schemas and/or tables named in the given strings.voidSchemaGenerator. generateSequences(DBIdentifier schemaName, DBIdentifier sequenceName, java.sql.Connection conn, java.sql.DatabaseMetaData meta)voidSchemaGenerator. generateTables(DBIdentifier schemaName, DBIdentifier tableName, java.sql.Connection conn, java.sql.DatabaseMetaData meta)Adds all tables matching the given name pattern to the schema.ColumnTable. getColumn(DBIdentifier name)ColumnTable. getColumn(DBIdentifier name, boolean create)ForeignKeyTable. getForeignKey(DBIdentifier name)IndexTable. getIndex(DBIdentifier name)SchemaSchemaGroup. getSchema(DBIdentifier name)SequenceSchema. getSequence(DBIdentifier name)TableSchema. getTable(DBIdentifier name)UniqueTable. getUnique(DBIdentifier name)booleanSchemaGroup. isKnownSequence(DBIdentifier name)booleanNameSet. isNameTaken(DBIdentifier name)protected ColumnDynamicSchemaFactory. newColumn(DBIdentifier name, Table table)protected ColumnSchemaGroup. newColumn(DBIdentifier name, Table table)protected ForeignKeySchemaGroup. newForeignKey(DBIdentifier name, Table table)protected IndexSchemaGroup. newIndex(DBIdentifier name, Table table)protected PrimaryKeySchemaGroup. newPrimaryKey(DBIdentifier name, Table table)protected SchemaSchemaGroup. newSchema(DBIdentifier name)protected SequenceSchemaGroup. newSequence(DBIdentifier name, Schema schema)protected TableDynamicSchemaFactory. newTable(DBIdentifier name, Schema schema)protected TableSchemaGroup. newTable(DBIdentifier name, Schema schema)protected UniqueSchemaGroup. newUnique(DBIdentifier name, Table table)protected voidNameSet. removeName(DBIdentifier name)Remove the given name from the table.voidColumn. resetTableIdentifier(DBIdentifier table)voidConstraint. setColumnIdentifier(DBIdentifier name)voidColumn. setIdentifier(DBIdentifier name)voidConstraint. setIdentifier(DBIdentifier name)voidSchema. setIdentifier(DBIdentifier name)voidSequence. setIdentifier(DBIdentifier name)voidTable. setIdentifier(DBIdentifier name)Set the name of the table.voidUnique. setIdentifier(DBIdentifier name)voidForeignKey. setPrimaryKeyColumnIdentifier(DBIdentifier pkColumnName)voidForeignKey. setPrimaryKeySchemaIdentifier(DBIdentifier pkSchemaName)voidForeignKey. setPrimaryKeyTableIdentifier(DBIdentifier pkTableName)voidColumn. setSchemaIdentifier(DBIdentifier name)voidConstraint. setSchemaIdentifier(DBIdentifier schema)voidSequence. setSchemaIdentifier(DBIdentifier name)voidTable. setSchemaIdentifier(DBIdentifier name)voidColumn. setTableIdentifier(DBIdentifier name)voidConstraint. setTableIdentifier(DBIdentifier name)voidColumn. setTargetIdentifier(DBIdentifier target)voidColumn. 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 DBIdentifierDBDictionary. fromDBName(java.lang.String name, DBIdentifier.DBIdentifierType id)DBIdentifierDBDictionary. getColumnIdentifier(Column column)Returns the name of the column using database specific delimiters.DBIdentifierDBDictionary. getFullIdentifier(Table table, boolean logical)Returns the full name of the table, including the schema (delimited byDBDictionary.catalogSeparator).DBIdentifierDBDictionary. getValidColumnName(DBIdentifier name, Table table)Make any necessary changes to the given column name to make it valid for the current DB.DBIdentifierDBDictionary. getValidColumnName(DBIdentifier name, Table table, boolean checkForUniqueness)Make any necessary changes to the given column name to make it valid for the current DB.DBIdentifierDBDictionary. 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.DBIdentifierDBDictionary. getValidIndexName(DBIdentifier name, Table table)Make any necessary changes to the given index name to make it valid for the current DB.DBIdentifierDBDictionary. getValidSequenceName(DBIdentifier name, Schema schema)Make any necessary changes to the given sequence name to make it valid for the current DB.DBIdentifierDBDictionary. getValidTableName(DBIdentifier name, Schema schema)Make any necessary changes to the given table name to make it valid for the current DB.DBIdentifierDBDictionary. getValidUniqueName(DBIdentifier name, Table table)Make any necessary changes to the given unique constraint name to make it valid for the current DB.DBIdentifierDBDictionary. getVersionColumn(Column column, DBIdentifier tableAlias)protected DBIdentifierDBDictionary. 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 DBIdentifierDBDictionary. 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.DBIdentifierDBDictionary. processDBColumnName(DBIdentifier name)Methods in org.apache.openjpa.jdbc.sql with parameters of type DBIdentifier Modifier and Type Method Description SQLBufferSQLBuffer. append(DBIdentifier name)java.lang.StringDBDictionary. convertSchemaCase(DBIdentifier objectName)Convert the specified schema name to a name that the database will be able to understand.java.lang.StringSolidDBDictionary. convertSchemaCase(DBIdentifier objectName)voidDB2Dictionary. createIndexIfNecessary(Schema schema, DBIdentifier table, Column pkColumn)voidDBDictionary. createIndexIfNecessary(Schema schema, DBIdentifier table, Column pkColumn)protected java.lang.StringDBDictionary. getCatalogNameForMetadata(DBIdentifier catalogName)Returns the catalog name that will be used for obtaining information fromDatabaseMetaData.protected java.lang.StringDBDictionary. getColumnNameForMetadata(DBIdentifier columnName)Returns the column name that will be used for obtaining information fromDatabaseMetaData.protected java.lang.StringInterbaseDictionary. 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.StringDBDictionary. 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.StringDB2Dictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)protected java.lang.StringDBDictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)protected java.lang.StringFirebirdDictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)protected java.lang.StringH2Dictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)protected java.lang.StringHSQLDictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)protected java.lang.StringIngresDictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)protected java.lang.StringOracleDictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)protected java.lang.StringPostgresDictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)protected java.lang.StringSolidDBDictionary. getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)StoredProcedureDBDictionary. 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.StringDBDictionary. getTableNameForMetadata(DBIdentifier tableName)Returns the table name that will be used for obtaining information fromDatabaseMetaData.protected java.lang.StringFirebirdDictionary. getTableNameForMetadata(DBIdentifier tableName)protected java.lang.StringInterbaseDictionary. 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.DBIdentifierDBDictionary. getValidColumnName(DBIdentifier name, Table table)Make any necessary changes to the given column name to make it valid for the current DB.DBIdentifierDBDictionary. getValidColumnName(DBIdentifier name, Table table, boolean checkForUniqueness)Make any necessary changes to the given column name to make it valid for the current DB.DBIdentifierDBDictionary. 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.DBIdentifierDBDictionary. getValidIndexName(DBIdentifier name, Table table)Make any necessary changes to the given index name to make it valid for the current DB.DBIdentifierDBDictionary. getValidSequenceName(DBIdentifier name, Schema schema)Make any necessary changes to the given sequence name to make it valid for the current DB.DBIdentifierDBDictionary. getValidTableName(DBIdentifier name, Schema schema)Make any necessary changes to the given table name to make it valid for the current DB.DBIdentifierDBDictionary. getValidUniqueName(DBIdentifier name, Table table)Make any necessary changes to the given unique constraint name to make it valid for the current DB.DBIdentifierDBDictionary. getVersionColumn(Column column, DBIdentifier tableAlias)booleanPostgresDictionary. 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.booleanDBDictionary. isSystemIndex(DBIdentifier name, Table table)This method is used to filter system indexes from database metadata.booleanH2Dictionary. isSystemIndex(DBIdentifier name, Table table)booleanHSQLDictionary. isSystemIndex(DBIdentifier name, Table table)booleanPostgresDictionary. isSystemIndex(DBIdentifier name, Table table)booleanSolidDBDictionary. isSystemIndex(DBIdentifier name, Table table)booleanDBDictionary. isSystemSequence(DBIdentifier name, DBIdentifier schema, boolean targetSchema)This method is used to filter system sequences from database metadata.booleanDBDictionary. isSystemSequence(DBIdentifier name, DBIdentifier schema, boolean targetSchema, java.sql.Connection conn)This method is used to filter system sequences from database metadata.booleanOracleDictionary. isSystemSequence(DBIdentifier name, DBIdentifier schema, boolean targetSchema)booleanPostgresDictionary. isSystemSequence(DBIdentifier name, DBIdentifier schema, boolean targetSchema)booleanPostgresDictionary. isSystemSequence(DBIdentifier name, DBIdentifier schema, boolean targetSchema, java.sql.Connection conn)booleanSolidDBDictionary. isSystemSequence(DBIdentifier name, DBIdentifier schema, boolean targetSchema)booleanDBDictionary. isSystemTable(DBIdentifier name, DBIdentifier schema, boolean targetSchema)This method is used to filter system tables from database metadata.booleanPostgresDictionary. isSystemTable(DBIdentifier name, DBIdentifier schema, boolean targetSchema)protected DBIdentifierDBDictionary. 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 DBIdentifierDBDictionary. 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.DBIdentifierDBDictionary. processDBColumnName(DBIdentifier name)voidStoredProcedure. setCatalog(DBIdentifier catalog)voidStoredProcedure. setSchema(DBIdentifier schema)java.lang.StringDBDictionary. toDBName(DBIdentifier name)java.lang.StringDBDictionary. 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 DBIdentifierPersistenceMappingDefaults. getTableIdentifier(FieldMapping fm, Schema schema)Methods in org.apache.openjpa.persistence.jdbc with parameters of type DBIdentifier Modifier and Type Method Description voidPersistenceMappingDefaults. populateForeignKeyColumn(ValueMapping vm, DBIdentifier sName, Table local, Table foreign, Column col, java.lang.Object target, boolean inverse, int pos, int cols)
-