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


    public class SpringPhysicalNamingStrategy
    extends Object
    implements org.hibernate.boot.model.naming.PhysicalNamingStrategy
    Hibernate PhysicalNamingStrategy that follows Spring recommended naming conventions.
    Since:
    1.4.0
    Author:
    Phillip Webb
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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 Detail

      • SpringPhysicalNamingStrategy

        public SpringPhysicalNamingStrategy()
    • 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)
        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

Copyright © 2016 Pivotal Software, Inc.. All rights reserved.