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
-
Method Summary
Modifier and TypeMethodDescriptionorg.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 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 interfaceorg.hibernate.boot.model.naming.ImplicitNamingStrategy
- Overrides:
determineJoinTableName
in classorg.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
-