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 enumThis 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.IdentifiertoPhysicalCatalogName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) org.hibernate.boot.model.naming.IdentifiertoPhysicalColumnName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) org.hibernate.boot.model.naming.IdentifiertoPhysicalSchemaName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) org.hibernate.boot.model.naming.IdentifiertoPhysicalSequenceName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) org.hibernate.boot.model.naming.IdentifiertoPhysicalTableName(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:
toPhysicalCatalogNamein 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:
toPhysicalSchemaNamein 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:
toPhysicalTableNamein 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:
toPhysicalSequenceNamein 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:
toPhysicalColumnNamein interfaceorg.hibernate.boot.model.naming.PhysicalNamingStrategy
-
getPattern
This method gets the pattern used for converting names in the physical naming strategy.- Returns:
- the
NamePatternrepresenting the naming pattern.
-
getKeywords
This method is yet to be implemented (TBI).- Returns:
- empty list.
-