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
See Also:
  • Field Summary

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

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

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

    Methods inherited from class java.lang.Object

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

    • SpringImplicitNamingStrategy

      public SpringImplicitNamingStrategy()
  • Method Details

    • 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