org.springframework.boot.orm.jpa.hibernate

Class SpringPhysicalNamingStrategy

  • java.lang.Object
    • org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
  • All Implemented Interfaces:
    org.hibernate.boot.model.naming.PhysicalNamingStrategy

    Deprecated. 
    since 2.6.0 for removal in 2.8.0 in favor of CamelCaseToUnderscoresNamingStrategy

    @Deprecated
    public class SpringPhysicalNamingStrategy
    extends java.lang.Object
    implements org.hibernate.boot.model.naming.PhysicalNamingStrategy
    Hibernate PhysicalNamingStrategy that follows Spring recommended naming conventions.
    Since:
    1.4.0
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method and Description
      protected org.hibernate.boot.model.naming.Identifier getIdentifier(java.lang.String name, boolean quoted, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
      Deprecated. 
      Get an identifier for the specified details.
      protected boolean isCaseInsensitive(org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
      Deprecated. 
      Specify whether the database is case sensitive.
      org.hibernate.boot.model.naming.Identifier toPhysicalCatalogName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
      Deprecated. 
       
      org.hibernate.boot.model.naming.Identifier toPhysicalColumnName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
      Deprecated. 
       
      org.hibernate.boot.model.naming.Identifier toPhysicalSchemaName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
      Deprecated. 
       
      org.hibernate.boot.model.naming.Identifier toPhysicalSequenceName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
      Deprecated. 
       
      org.hibernate.boot.model.naming.Identifier toPhysicalTableName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
      Deprecated. 
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpringPhysicalNamingStrategy

        public SpringPhysicalNamingStrategy()
        Deprecated. 
    • Method Detail

      • toPhysicalCatalogName

        public org.hibernate.boot.model.naming.Identifier toPhysicalCatalogName(org.hibernate.boot.model.naming.Identifier name,
                                                                                org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
        Deprecated. 
        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)
        Deprecated. 
        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)
        Deprecated. 
        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)
        Deprecated. 
        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)
        Deprecated. 
        Specified by:
        toPhysicalColumnName in interface org.hibernate.boot.model.naming.PhysicalNamingStrategy
      • getIdentifier

        protected org.hibernate.boot.model.naming.Identifier getIdentifier(java.lang.String name,
                                                                           boolean quoted,
                                                                           org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
        Deprecated. 
        Get an identifier for the specified details. By default this method will return an identifier with the name adapted based on the result of isCaseInsensitive(JdbcEnvironment)
        Parameters:
        name - the name of the identifier
        quoted - if the identifier is quoted
        jdbcEnvironment - the JDBC environment
        Returns:
        an identifier instance
      • isCaseInsensitive

        protected boolean isCaseInsensitive(org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
        Deprecated. 
        Specify whether the database is case sensitive.
        Parameters:
        jdbcEnvironment - the JDBC environment which can be used to determine case
        Returns:
        true if the database is case insensitive sensitivity