Package com.jk.data.datasource
Class DefaultPhysicalNamingStrategy
java.lang.Object
com.jk.data.datasource.DefaultPhysicalNamingStrategy
- All Implemented Interfaces:
Serializable
,org.hibernate.boot.model.naming.PhysicalNamingStrategy
- Direct Known Subclasses:
H2PhysicalNamingStrategy
,MysqlPhysicalNamingStrategy
,OraclePhysicalNamingStrategy
public class DefaultPhysicalNamingStrategy
extends Object
implements org.hibernate.boot.model.naming.PhysicalNamingStrategy, Serializable
This class provides a strategy for converting database object names to
physical names.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
This enum of name patterns for conversion. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method is yet to be implemented (TBI).This method gets the pattern used for converting names in the physical naming strategy.org.hibernate.boot.model.naming.Identifier
toPhysicalCatalogName
(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) org.hibernate.boot.model.naming.Identifier
toPhysicalColumnName
(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) org.hibernate.boot.model.naming.Identifier
toPhysicalSchemaName
(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) org.hibernate.boot.model.naming.Identifier
toPhysicalSequenceName
(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) org.hibernate.boot.model.naming.Identifier
toPhysicalTableName
(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
-
Constructor Details
-
DefaultPhysicalNamingStrategy
public DefaultPhysicalNamingStrategy()
-
-
Method Details
-
toPhysicalCatalogName
public org.hibernate.boot.model.naming.Identifier toPhysicalCatalogName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) - Specified by:
toPhysicalCatalogName
in interfaceorg.hibernate.boot.model.naming.PhysicalNamingStrategy
-
toPhysicalSchemaName
public org.hibernate.boot.model.naming.Identifier toPhysicalSchemaName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) - Specified by:
toPhysicalSchemaName
in interfaceorg.hibernate.boot.model.naming.PhysicalNamingStrategy
-
toPhysicalTableName
public org.hibernate.boot.model.naming.Identifier toPhysicalTableName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) - Specified by:
toPhysicalTableName
in interfaceorg.hibernate.boot.model.naming.PhysicalNamingStrategy
-
toPhysicalSequenceName
public org.hibernate.boot.model.naming.Identifier toPhysicalSequenceName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) - Specified by:
toPhysicalSequenceName
in interfaceorg.hibernate.boot.model.naming.PhysicalNamingStrategy
-
toPhysicalColumnName
public org.hibernate.boot.model.naming.Identifier toPhysicalColumnName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) - Specified by:
toPhysicalColumnName
in interfaceorg.hibernate.boot.model.naming.PhysicalNamingStrategy
-
getPattern
This method gets the pattern used for converting names in the physical naming strategy.- Returns:
- the
NamePattern
representing the naming pattern.
-
getKeywords
This method is yet to be implemented (TBI).- Returns:
- empty list.
-