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 thePhysicalNamingStrategy
contract. 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 PhysicalNamingStrategyStandardImpl
INSTANCE
Singleton access
-
Constructor Summary
Constructors Constructor Description PhysicalNamingStrategyStandardImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Identifier
toPhysicalCatalogName(Identifier logicalName, JdbcEnvironment context)
Determine the physical catalog name from the given logical nameIdentifier
toPhysicalColumnName(Identifier logicalName, JdbcEnvironment context)
Determine the physical column name from the given logical nameIdentifier
toPhysicalSchemaName(Identifier logicalName, JdbcEnvironment context)
Determine the physical schema name from the given logical nameIdentifier
toPhysicalSequenceName(Identifier logicalName, JdbcEnvironment context)
Determine the physical sequence name from the given logical nameIdentifier
toPhysicalTableName(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:PhysicalNamingStrategy
Determine the physical catalog name from the given logical name- Specified by:
toPhysicalCatalogName
in interfacePhysicalNamingStrategy
-
toPhysicalSchemaName
public Identifier toPhysicalSchemaName(Identifier logicalName, JdbcEnvironment context)
Description copied from interface:PhysicalNamingStrategy
Determine the physical schema name from the given logical name- Specified by:
toPhysicalSchemaName
in interfacePhysicalNamingStrategy
-
toPhysicalTableName
public Identifier toPhysicalTableName(Identifier logicalName, JdbcEnvironment context)
Description copied from interface:PhysicalNamingStrategy
Determine the physical table name from the given logical name- Specified by:
toPhysicalTableName
in interfacePhysicalNamingStrategy
-
toPhysicalSequenceName
public Identifier toPhysicalSequenceName(Identifier logicalName, JdbcEnvironment context)
Description copied from interface:PhysicalNamingStrategy
Determine the physical sequence name from the given logical name- Specified by:
toPhysicalSequenceName
in interfacePhysicalNamingStrategy
-
toPhysicalColumnName
public Identifier toPhysicalColumnName(Identifier logicalName, JdbcEnvironment context)
Description copied from interface:PhysicalNamingStrategy
Determine the physical column name from the given logical name- Specified by:
toPhysicalColumnName
in interfacePhysicalNamingStrategy
-
-