Package org.hibernate.boot.model.naming
Class PhysicalNamingStrategyStandardImpl
- java.lang.Object
-
- org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
-
- All Implemented Interfaces:
Serializable,PhysicalNamingStrategy
public class PhysicalNamingStrategyStandardImpl extends Object implements PhysicalNamingStrategy, Serializable
Standard implementation of thePhysicalNamingStrategycontract. This is a trivial implementation where each physical name is taken to be exactly identical to the corresponding logical name.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static PhysicalNamingStrategyStandardImplINSTANCESingleton access
-
Constructor Summary
Constructors Constructor Description PhysicalNamingStrategyStandardImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentifiertoPhysicalCatalogName(Identifier logicalName, JdbcEnvironment context)Determine the physical catalog name from the given logical nameIdentifiertoPhysicalColumnName(Identifier logicalName, JdbcEnvironment context)Determine the physical column name from the given logical nameIdentifiertoPhysicalSchemaName(Identifier logicalName, JdbcEnvironment context)Determine the physical schema name from the given logical nameIdentifiertoPhysicalSequenceName(Identifier logicalName, JdbcEnvironment context)Determine the physical sequence name from the given logical nameIdentifiertoPhysicalTableName(Identifier logicalName, JdbcEnvironment context)Determine the physical table name from the given logical name-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.boot.model.naming.PhysicalNamingStrategy
toPhysicalTypeName
-
-
-
-
Field Detail
-
INSTANCE
public static final PhysicalNamingStrategyStandardImpl INSTANCE
Singleton access
-
-
Method Detail
-
toPhysicalCatalogName
public Identifier toPhysicalCatalogName(Identifier logicalName, JdbcEnvironment context)
Description copied from interface:PhysicalNamingStrategyDetermine the physical catalog name from the given logical name- Specified by:
toPhysicalCatalogNamein interfacePhysicalNamingStrategy
-
toPhysicalSchemaName
public Identifier toPhysicalSchemaName(Identifier logicalName, JdbcEnvironment context)
Description copied from interface:PhysicalNamingStrategyDetermine the physical schema name from the given logical name- Specified by:
toPhysicalSchemaNamein interfacePhysicalNamingStrategy
-
toPhysicalTableName
public Identifier toPhysicalTableName(Identifier logicalName, JdbcEnvironment context)
Description copied from interface:PhysicalNamingStrategyDetermine the physical table name from the given logical name- Specified by:
toPhysicalTableNamein interfacePhysicalNamingStrategy
-
toPhysicalSequenceName
public Identifier toPhysicalSequenceName(Identifier logicalName, JdbcEnvironment context)
Description copied from interface:PhysicalNamingStrategyDetermine the physical sequence name from the given logical name- Specified by:
toPhysicalSequenceNamein interfacePhysicalNamingStrategy
-
toPhysicalColumnName
public Identifier toPhysicalColumnName(Identifier logicalName, JdbcEnvironment context)
Description copied from interface:PhysicalNamingStrategyDetermine the physical column name from the given logical name- Specified by:
toPhysicalColumnNamein interfacePhysicalNamingStrategy
-
-