Class DefaultPhysicalNamingStrategy

java.lang.Object
io.micronaut.data.hibernate.naming.DefaultPhysicalNamingStrategy
All Implemented Interfaces:
org.hibernate.boot.model.naming.PhysicalNamingStrategy

@Singleton public final class DefaultPhysicalNamingStrategy extends Object implements org.hibernate.boot.model.naming.PhysicalNamingStrategy
The default PhysicalNamingStrategy to use. Can be replaced with another bean that declares: @Replaces(DefaultPhysicalNamingStrategy.class) and implements PhysicalNamingStrategy
Since:
1.0.0
Author:
graemerocher
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.boot.model.naming.PhysicalNamingStrategy

    toPhysicalTypeName
  • 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