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 Classes
    Modifier and Type
    Class
    Description
    static enum 
    This enum of name patterns for conversion.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    This 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)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface org.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 interface org.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 interface org.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 interface org.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 interface org.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

      public List<String> getKeywords()
      This method is yet to be implemented (TBI).
      Returns:
      empty list.