Uses of Class
org.hibernate.boot.model.naming.Identifier
-
Packages that use Identifier Package Description org.hibernate.boot.model.naming Represents a proposed new approach to allowing hooks into the process of determining the name of database objects (tables, columns, constraints, etc).org.hibernate.boot.model.relational org.hibernate.boot.spi org.hibernate.cfg.annotations org.hibernate.engine.jdbc.env.spi org.hibernate.id.enhanced Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified configurationorg.hibernate.mapping org.hibernate.tool.schema.extract.spi -
-
Uses of Identifier in org.hibernate.boot.model.naming
Subclasses of Identifier in org.hibernate.boot.model.naming Modifier and Type Class Description classDatabaseIdentifierModels an identifier (name), retrieved from the database.Methods in org.hibernate.boot.model.naming that return Identifier Modifier and Type Method Description IdentifierImplicitNamingStrategy. determineAnyDiscriminatorColumnName(ImplicitAnyDiscriminatorColumnNameSource source)Determine the column name related to the discriminator portion of an ANY mapping when no explicit column name is given.IdentifierImplicitNamingStrategyJpaCompliantImpl. determineAnyDiscriminatorColumnName(ImplicitAnyDiscriminatorColumnNameSource source)IdentifierImplicitNamingStrategy. determineAnyKeyColumnName(ImplicitAnyKeyColumnNameSource source)Determine the column name related to the key/id portion of an ANY mapping when no explicit column name is given.IdentifierImplicitNamingStrategyJpaCompliantImpl. determineAnyKeyColumnName(ImplicitAnyKeyColumnNameSource source)IdentifierImplicitNamingStrategy. determineBasicColumnName(ImplicitBasicColumnNameSource source)Determine the name of an attribute's column given the source naming information, when a name is not explicitly given.IdentifierImplicitNamingStrategyJpaCompliantImpl. determineBasicColumnName(ImplicitBasicColumnNameSource source)IdentifierImplicitNamingStrategyLegacyHbmImpl. determineBasicColumnName(ImplicitBasicColumnNameSource source)IdentifierImplicitNamingStrategy. determineCollectionTableName(ImplicitCollectionTableNameSource source)Determine the name of a collection join table given the source naming information, when a name is not explicitly given.IdentifierImplicitNamingStrategyJpaCompliantImpl. determineCollectionTableName(ImplicitCollectionTableNameSource source)IdentifierImplicitNamingStrategyLegacyJpaImpl. determineCollectionTableName(ImplicitCollectionTableNameSource source)IdentifierImplicitNamingStrategy. determineDiscriminatorColumnName(ImplicitDiscriminatorColumnNameSource source)Determine the implicit name for the discriminator column for the given entityIdentifierImplicitNamingStrategyJpaCompliantImpl. determineDiscriminatorColumnName(ImplicitDiscriminatorColumnNameSource source)IdentifierImplicitNamingStrategy. determineForeignKeyName(ImplicitForeignKeyNameSource source)IdentifierImplicitNamingStrategyJpaCompliantImpl. determineForeignKeyName(ImplicitForeignKeyNameSource source)IdentifierImplicitNamingStrategy. determineIdentifierColumnName(ImplicitIdentifierColumnNameSource source)Determine the implicit name for the identifier column for the given entityIdentifierImplicitNamingStrategyJpaCompliantImpl. determineIdentifierColumnName(ImplicitIdentifierColumnNameSource source)IdentifierNamingStrategyHelper. determineImplicitName(MetadataBuildingContext buildingContext)Called when the user supplied no explicit name/identifier for the given database object.IdentifierImplicitNamingStrategy. determineIndexName(ImplicitIndexNameSource source)IdentifierImplicitNamingStrategyJpaCompliantImpl. determineIndexName(ImplicitIndexNameSource source)IdentifierImplicitNamingStrategy. determineJoinColumnName(ImplicitJoinColumnNameSource source)Determine the column name related toJoinColumn.IdentifierImplicitNamingStrategyJpaCompliantImpl. determineJoinColumnName(ImplicitJoinColumnNameSource source)IdentifierImplicitNamingStrategyLegacyHbmImpl. determineJoinColumnName(ImplicitJoinColumnNameSource source)IdentifierImplicitNamingStrategyLegacyJpaImpl. determineJoinColumnName(ImplicitJoinColumnNameSource source)IdentifierImplicitNamingStrategy. determineJoinTableName(ImplicitJoinTableNameSource source)Determine the name of an association join table given the source naming information, when a name is not explicitly given.IdentifierImplicitNamingStrategyJpaCompliantImpl. determineJoinTableName(ImplicitJoinTableNameSource source)IdentifierImplicitNamingStrategyLegacyHbmImpl. determineJoinTableName(ImplicitJoinTableNameSource source)IdentifierImplicitNamingStrategyLegacyJpaImpl. determineJoinTableName(ImplicitJoinTableNameSource source)IdentifierImplicitNamingStrategy. determineListIndexColumnName(ImplicitIndexColumnNameSource source)IdentifierImplicitNamingStrategyJpaCompliantImpl. determineListIndexColumnName(ImplicitIndexColumnNameSource source)IdentifierObjectNameNormalizer. determineLogicalName(java.lang.String explicitName, NamingStrategyHelper namingStrategyHelper)Determine the logical name give a (potentiallynull/empty) explicit name.IdentifierImplicitNamingStrategy. determineMapKeyColumnName(ImplicitMapKeyColumnNameSource source)IdentifierImplicitNamingStrategyJpaCompliantImpl. determineMapKeyColumnName(ImplicitMapKeyColumnNameSource source)IdentifierImplicitNamingStrategy. determinePrimaryKeyJoinColumnName(ImplicitPrimaryKeyJoinColumnNameSource source)Determine the column name related toPrimaryKeyJoinColumn.IdentifierImplicitNamingStrategyJpaCompliantImpl. determinePrimaryKeyJoinColumnName(ImplicitPrimaryKeyJoinColumnNameSource source)IdentifierImplicitNamingStrategy. determinePrimaryTableName(ImplicitEntityNameSource source)Determine the implicit name of an entity's primary table.IdentifierImplicitNamingStrategyJpaCompliantImpl. determinePrimaryTableName(ImplicitEntityNameSource source)IdentifierImplicitNamingStrategy. determineTenantIdColumnName(ImplicitTenantIdColumnNameSource source)Determine the implicit name for the tenant (multi-tenancy) identifier column for the given entityIdentifierImplicitNamingStrategyJpaCompliantImpl. determineTenantIdColumnName(ImplicitTenantIdColumnNameSource source)IdentifierImplicitNamingStrategy. determineUniqueKeyName(ImplicitUniqueKeyNameSource source)IdentifierImplicitNamingStrategyJpaCompliantImpl. determineUniqueKeyName(ImplicitUniqueKeyNameSource source)IdentifierImplicitCollectionTableNameSource. getOwningPhysicalTableName()Access to the physical name of the owning entity's table.IdentifierImplicitJoinColumnNameSource. getReferencedColumnName()Access the name of the column that is the target of the FK being describedIdentifierImplicitPrimaryKeyJoinColumnNameSource. getReferencedPrimaryKeyColumnName()Access the name of the column that is a primary key column in the referenced-table that is referenced by the foreign-key described here.IdentifierImplicitForeignKeyNameSource. getReferencedTableName()IdentifierImplicitJoinColumnNameSource. getReferencedTableName()Access the name of the table that is the target of the FK being describedIdentifierImplicitPrimaryKeyJoinColumnNameSource. getReferencedTableName()Access the name of the table referenced by the foreign-key described here.IdentifierImplicitConstraintNameSource. getTableName()IdentifierImplicitConstraintNameSource. getUserProvidedIdentifier()IdentifierNamingStrategyHelper. handleExplicitName(java.lang.String explicitName, MetadataBuildingContext buildingContext)Called when the user has supplied an explicit name for the database object.IdentifierObjectNameNormalizer. normalizeIdentifierQuoting(java.lang.String identifierText)Normalizes the quoting of identifiers.IdentifierObjectNameNormalizer. normalizeIdentifierQuoting(Identifier identifier)static IdentifierIdentifier. quote(Identifier identifier)static IdentifierIdentifier. toIdentifier(java.lang.String text)Means to generate anIdentifierinstance from its simple text form.static IdentifierIdentifier. toIdentifier(java.lang.String text, boolean quote)Means to generate anIdentifierinstance from its simple text form.protected IdentifierImplicitNamingStrategyJpaCompliantImpl. toIdentifier(java.lang.String stringForm, MetadataBuildingContext buildingContext)Easy hook to build an Identifier using the keyword safe IdentifierHelper.IdentifierPhysicalNamingStrategy. toPhysicalCatalogName(Identifier name, JdbcEnvironment jdbcEnvironment)IdentifierPhysicalNamingStrategyStandardImpl. toPhysicalCatalogName(Identifier name, JdbcEnvironment context)IdentifierPhysicalNamingStrategy. toPhysicalColumnName(Identifier name, JdbcEnvironment jdbcEnvironment)IdentifierPhysicalNamingStrategyStandardImpl. toPhysicalColumnName(Identifier name, JdbcEnvironment context)IdentifierNamingStrategyHelper. toPhysicalName(Identifier logicalName, MetadataBuildingContext buildingContext)Handle converting a logical name to a physical nameIdentifierPhysicalNamingStrategy. toPhysicalSchemaName(Identifier name, JdbcEnvironment jdbcEnvironment)IdentifierPhysicalNamingStrategyStandardImpl. toPhysicalSchemaName(Identifier name, JdbcEnvironment context)IdentifierPhysicalNamingStrategy. toPhysicalSequenceName(Identifier name, JdbcEnvironment jdbcEnvironment)IdentifierPhysicalNamingStrategyStandardImpl. toPhysicalSequenceName(Identifier name, JdbcEnvironment context)IdentifierPhysicalNamingStrategy. toPhysicalTableName(Identifier name, JdbcEnvironment jdbcEnvironment)IdentifierPhysicalNamingStrategyStandardImpl. toPhysicalTableName(Identifier name, JdbcEnvironment context)Methods in org.hibernate.boot.model.naming that return types with arguments of type Identifier Modifier and Type Method Description java.util.List<Identifier>ImplicitConstraintNameSource. getColumnNames()java.util.List<Identifier>ImplicitForeignKeyNameSource. getReferencedColumnNames()Methods in org.hibernate.boot.model.naming with parameters of type Identifier Modifier and Type Method Description static booleanIdentifier. areEqual(Identifier id1, Identifier id2)intIdentifier. compareTo(Identifier o)java.lang.StringNamingHelper. generateHashedConstraintName(java.lang.String prefix, Identifier tableName, java.util.List<Identifier> columnNames)If a constraint is not explicitly named, this is called to generate a unique hash using the table and column names.java.lang.StringNamingHelper. generateHashedConstraintName(java.lang.String prefix, Identifier tableName, Identifier... columnNames)If a constraint is not explicitly named, this is called to generate a unique hash using the table and column names.java.lang.StringNamingHelper. generateHashedFkName(java.lang.String prefix, Identifier tableName, Identifier referencedTableName, java.util.List<Identifier> columnNames)If a foreign-key is not explicitly named, this is called to generate a unique hash using the table and column names.java.lang.StringNamingHelper. generateHashedFkName(java.lang.String prefix, Identifier tableName, Identifier referencedTableName, Identifier... columnNames)If a foreign-key is not explicitly named, this is called to generate a unique hash using the table and column names.IdentifierObjectNameNormalizer. normalizeIdentifierQuoting(Identifier identifier)static IdentifierIdentifier. quote(Identifier identifier)IdentifierPhysicalNamingStrategy. toPhysicalCatalogName(Identifier name, JdbcEnvironment jdbcEnvironment)IdentifierPhysicalNamingStrategyStandardImpl. toPhysicalCatalogName(Identifier name, JdbcEnvironment context)IdentifierPhysicalNamingStrategy. toPhysicalColumnName(Identifier name, JdbcEnvironment jdbcEnvironment)IdentifierPhysicalNamingStrategyStandardImpl. toPhysicalColumnName(Identifier name, JdbcEnvironment context)IdentifierNamingStrategyHelper. toPhysicalName(Identifier logicalName, MetadataBuildingContext buildingContext)Handle converting a logical name to a physical nameIdentifierPhysicalNamingStrategy. toPhysicalSchemaName(Identifier name, JdbcEnvironment jdbcEnvironment)IdentifierPhysicalNamingStrategyStandardImpl. toPhysicalSchemaName(Identifier name, JdbcEnvironment context)IdentifierPhysicalNamingStrategy. toPhysicalSequenceName(Identifier name, JdbcEnvironment jdbcEnvironment)IdentifierPhysicalNamingStrategyStandardImpl. toPhysicalSequenceName(Identifier name, JdbcEnvironment context)IdentifierPhysicalNamingStrategy. toPhysicalTableName(Identifier name, JdbcEnvironment jdbcEnvironment)IdentifierPhysicalNamingStrategyStandardImpl. toPhysicalTableName(Identifier name, JdbcEnvironment context)Method parameters in org.hibernate.boot.model.naming with type arguments of type Identifier Modifier and Type Method Description java.lang.StringNamingHelper. generateHashedConstraintName(java.lang.String prefix, Identifier tableName, java.util.List<Identifier> columnNames)If a constraint is not explicitly named, this is called to generate a unique hash using the table and column names.java.lang.StringNamingHelper. generateHashedFkName(java.lang.String prefix, Identifier tableName, Identifier referencedTableName, java.util.List<Identifier> columnNames)If a foreign-key is not explicitly named, this is called to generate a unique hash using the table and column names. -
Uses of Identifier in org.hibernate.boot.model.relational
Methods in org.hibernate.boot.model.relational that return Identifier Modifier and Type Method Description IdentifierNamespace.Name. getCatalog()IdentifierQualifiedName. getCatalogName()IdentifierQualifiedNameParser.NameParts. getCatalogName()IdentifierQualifiedName. getObjectName()IdentifierQualifiedNameParser.NameParts. getObjectName()IdentifierNamespace.Name. getSchema()IdentifierQualifiedName. getSchemaName()IdentifierQualifiedNameParser.NameParts. getSchemaName()IdentifierQualifiedSequenceName. getSequenceName()IdentifierQualifiedTableName. getTableName()IdentifierDatabase. toIdentifier(java.lang.String text)Wrap the raw name of a database object in it's Identifier form accounting for quoting from any of: explicit quoting in the name itself global request to quote all identifiersMethods in org.hibernate.boot.model.relational with parameters of type Identifier Modifier and Type Method Description NamespaceDatabase. adjustDefaultNamespace(Identifier catalogName, Identifier schemaName)DenormalizedTableNamespace. createDenormalizedTable(Identifier logicalTableName, boolean isAbstract, Table includedTable)SequenceNamespace. createSequence(Identifier logicalName, int initialValue, int increment)TableNamespace. createTable(Identifier logicalTableName, boolean isAbstract)Creates a mapping Table instance.NamespaceDatabase. locateNamespace(Identifier catalogName, Identifier schemaName)SequenceNamespace. locateSequence(Identifier name)TableNamespace. locateTable(Identifier logicalTableName)Returns the table with the specified logical table name.QualifiedNameParser.NamePartsQualifiedNameParser. parse(java.lang.String text, Identifier defaultCatalog, Identifier defaultSchema)Parses a textual representation of a qualified name into a NameParts representation.Constructors in org.hibernate.boot.model.relational with parameters of type Identifier Constructor Description Name(Identifier catalog, Identifier schema)Name(Identifier catalogIdentifier, Identifier schemaIdentifier, Identifier nameIdentifier)NameParts(Identifier catalogName, Identifier schemaName, Identifier objectName)QualifiedNameImpl(Identifier catalogName, Identifier schemaName, Identifier objectName)QualifiedNameImpl(Namespace.Name schemaName, Identifier objectName)QualifiedSequenceName(Identifier catalogName, Identifier schemaName, Identifier sequenceName)QualifiedSequenceName(Namespace.Name schemaName, Identifier sequenceName)QualifiedTableName(Identifier catalogName, Identifier schemaName, Identifier tableName)QualifiedTableName(Namespace.Name schemaName, Identifier tableName)Sequence(Identifier catalogName, Identifier schemaName, Identifier sequenceName)Sequence(Identifier catalogName, Identifier schemaName, Identifier sequenceName, int initialValue, int incrementSize) -
Uses of Identifier in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi with parameters of type Identifier Modifier and Type Method Description voidInFlightMetadataCollector. addColumnNameBinding(Table table, Identifier logicalColumnName, Column column)InFlightMetadataCollector.EntityTableXrefInFlightMetadataCollector. addEntityTableXref(java.lang.String entityName, Identifier primaryTableLogicalName, Table primaryTable, InFlightMetadataCollector.EntityTableXref superEntityTableXref)voidInFlightMetadataCollector.EntityTableXref. addSecondaryTable(LocalMetadataBuildingContext buildingContext, Identifier logicalName, Join secondaryTableJoin)voidInFlightMetadataCollector. addTableNameBinding(Identifier logicalName, Table table)java.lang.StringInFlightMetadataCollector. getLogicalColumnName(Table table, Identifier physicalName)java.lang.StringInFlightMetadataCollector. getPhysicalColumnName(Table table, Identifier logicalName)java.lang.StringInFlightMetadataCollector. getPhysicalTableName(Identifier logicalName)JoinInFlightMetadataCollector.EntityTableXref. locateJoin(Identifier tableName)TableInFlightMetadataCollector.EntityTableXref. resolveTable(Identifier tableName)Constructors in org.hibernate.boot.spi with parameters of type Identifier Constructor Description DuplicateSecondaryTableException(Identifier tableName) -
Uses of Identifier in org.hibernate.cfg.annotations
Methods in org.hibernate.cfg.annotations with parameters of type Identifier Modifier and Type Method Description static TableTableBinder. buildAndFillTable(java.lang.String schema, java.lang.String catalog, Identifier logicalName, boolean isAbstract, java.util.List<UniqueConstraintHolder> uniqueConstraints, java.util.List<JPAIndexHolder> jpaIndexHolders, java.lang.String constraints, MetadataBuildingContext buildingContext, java.lang.String subselect, InFlightMetadataCollector.EntityTableXref denormalizedSuperTableXref) -
Uses of Identifier in org.hibernate.engine.jdbc.env.spi
Methods in org.hibernate.engine.jdbc.env.spi that return Identifier Modifier and Type Method Description IdentifierIdentifierHelper. applyGlobalQuoting(java.lang.String text)Intended only for use in handling quoting requirements forcolumn-definitionas defined byColumn.columnDefinition(),JoinColumn.columnDefinition(), etc.IdentifierJdbcEnvironment. getCurrentCatalog()Get the current database catalog.IdentifierJdbcEnvironment. getCurrentSchema()Get the current database catalog.IdentifierIdentifierHelper. normalizeQuoting(Identifier identifier)Essentially quotes the identifier if it needs to be.IdentifierIdentifierHelper. toIdentifier(java.lang.String text)Generate an Identifier instance from its simple name as obtained from mapping information.IdentifierIdentifierHelper. toIdentifier(java.lang.String text, boolean quoted)Generate an Identifier instance from its simple name as obtained from mapping information.Methods in org.hibernate.engine.jdbc.env.spi with parameters of type Identifier Modifier and Type Method Description IdentifierIdentifierHelper. normalizeQuoting(Identifier identifier)Essentially quotes the identifier if it needs to be.java.lang.StringIdentifierHelper. toMetaDataCatalogName(Identifier catalogIdentifier)Render the Identifier representation of a catalog name into the String form needed inDatabaseMetaDatacalls.java.lang.StringIdentifierHelper. toMetaDataObjectName(Identifier identifier)Render the Identifier representation of an object name (table, sequence, etc) into the String form needed inDatabaseMetaDatacalls.java.lang.StringIdentifierHelper. toMetaDataSchemaName(Identifier schemaIdentifier)Render the Identifier representation of a schema name into the String form needed inDatabaseMetaDatacalls. -
Uses of Identifier in org.hibernate.id.enhanced
Methods in org.hibernate.id.enhanced that return Identifier Modifier and Type Method Description protected IdentifierSequenceStyleGenerator. determineValueColumnName(java.util.Properties params, JdbcEnvironment jdbcEnvironment)Determine the name of the column used to store the generator value in the db.Constructors in org.hibernate.id.enhanced with parameters of type Identifier Constructor Description TableStructure(JdbcEnvironment jdbcEnvironment, QualifiedName qualifiedTableName, Identifier valueColumnNameIdentifier, int initialValue, int incrementSize, java.lang.Class numberType) -
Uses of Identifier in org.hibernate.mapping
Methods in org.hibernate.mapping that return Identifier Modifier and Type Method Description IdentifierTable. getNameIdentifier()Methods in org.hibernate.mapping with parameters of type Identifier Modifier and Type Method Description ColumnDenormalizedTable. getColumn(Identifier name)ColumnTable. getColumn(Identifier name)java.util.IteratorTable. sqlAlterStrings(Dialect dialect, Metadata metadata, TableInformation tableInfo, Identifier defaultCatalog, Identifier defaultSchema)Constructors in org.hibernate.mapping with parameters of type Identifier Constructor Description DenormalizedTable(Namespace namespace, Identifier physicalTableName, boolean isAbstract, Table includedTable)DenormalizedTable(Namespace namespace, Identifier physicalTableName, java.lang.String subselectFragment, boolean isAbstract, Table includedTable)Table(Identifier catalog, Identifier schema, Identifier physicalTableName, boolean isAbstract)Table(Namespace namespace, Identifier physicalTableName, boolean isAbstract)Table(Namespace namespace, Identifier physicalTableName, java.lang.String subselect, boolean isAbstract) -
Uses of Identifier in org.hibernate.tool.schema.extract.spi
Methods in org.hibernate.tool.schema.extract.spi that return Identifier Modifier and Type Method Description IdentifierColumnInformation. getColumnIdentifier()The simple (not qualified) column name.IdentifierExtractionContext. getDefaultCatalog()IdentifierExtractionContext. getDefaultSchema()IdentifierForeignKeyInformation. getForeignKeyIdentifier()Obtain the identifier for this FK.IdentifierIndexInformation. getIndexIdentifier()Obtain the identifier for this index.IdentifierPrimaryKeyInformation. getPrimaryKeyIdentifier()Obtain the identifier for this PK.Methods in org.hibernate.tool.schema.extract.spi with parameters of type Identifier Modifier and Type Method Description booleanDatabaseInformation. catalogExists(Identifier catalog)Check to see if the given catalog already exists.booleanInformationExtractor. catalogExists(Identifier catalog)Does the given catalog exist yet?ColumnInformationTableInformation. getColumn(Identifier columnIdentifier)Retrieve the named ColumnInformationForeignKeyInformationTableInformation. getForeignKey(Identifier keyName)Retrieve the named ForeignKeyInformationIndexInformationTableInformation. getIndex(Identifier indexName)Retrieve the named IndexInformationSequenceInformationDatabaseInformation. getSequenceInformation(Identifier catalogName, Identifier schemaName, Identifier sequenceName)Obtain reference to the named SequenceInformationSequenceInformationDatabaseInformation. getSequenceInformation(Namespace.Name schemaName, Identifier sequenceName)Obtain reference to the named SequenceInformationTableInformationInformationExtractor. getTable(Identifier catalog, Identifier schema, Identifier tableName)Look for a matching table.TableInformationDatabaseInformation. getTableInformation(Identifier catalogName, Identifier schemaName, Identifier tableName)Obtain reference to the named TableInformationTableInformationDatabaseInformation. getTableInformation(Namespace.Name schemaName, Identifier tableName)Obtain reference to the named TableInformationNameSpaceTablesInformationInformationExtractor. getTables(Identifier catalog, Identifier schema)Extract all the tables information.booleanInformationExtractor. schemaExists(Identifier catalog, Identifier schema)The the given schema exist yet?
-