org.springframework.boot.orm.jpa.hibernate

Class SpringImplicitNamingStrategy

  • java.lang.Object
    • org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
      • org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
  • All Implemented Interfaces:
    Serializable, org.hibernate.boot.model.naming.ImplicitNamingStrategy


    public class SpringImplicitNamingStrategy
    extends org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
    Hibernate ImplicitNamingStrategy that follows Spring recommended naming conventions. Naming conventions implemented here are identical to ImplicitNamingStrategyJpaCompliantImpl with the exception that join table names are of the form {owning_physical_table_name}_{association_owning_property_name}.
    Since:
    1.4.0
    Author:
    Andy Wilkinson
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl

        INSTANCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      org.hibernate.boot.model.naming.Identifier determineJoinTableName(org.hibernate.boot.model.naming.ImplicitJoinTableNameSource source) 
      • Methods inherited from class org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl

        determineAnyDiscriminatorColumnName, determineAnyKeyColumnName, determineBasicColumnName, determineCollectionTableName, determineDiscriminatorColumnName, determineForeignKeyName, determineIdentifierColumnName, determineIndexName, determineJoinColumnName, determineListIndexColumnName, determineMapKeyColumnName, determinePrimaryKeyJoinColumnName, determinePrimaryTableName, determineTenantIdColumnName, determineUniqueKeyName, toIdentifier, transformAttributePath, transformEntityName
    • Constructor Detail

      • SpringImplicitNamingStrategy

        public SpringImplicitNamingStrategy()
    • Method Detail

      • determineJoinTableName

        public org.hibernate.boot.model.naming.Identifier determineJoinTableName(org.hibernate.boot.model.naming.ImplicitJoinTableNameSource source)
        Specified by:
        determineJoinTableName in interface org.hibernate.boot.model.naming.ImplicitNamingStrategy
        Overrides:
        determineJoinTableName in class org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl

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