org.hibernate.boot.model.naming.ImplicitNamingStrategyComponentPathImpl Java Examples
The following examples show how to use
org.hibernate.boot.model.naming.ImplicitNamingStrategyComponentPathImpl.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: EmbeddableImplicitOverrideTest.java From google-cloud-spanner-hibernate with GNU Lesser General Public License v2.1 | 5 votes |
@Override protected void initialize(MetadataBuilder metadataBuilder) { super.initialize( metadataBuilder ); //tag::embeddable-multiple-ImplicitNamingStrategyComponentPathImpl[] metadataBuilder.applyImplicitNamingStrategy( ImplicitNamingStrategyComponentPathImpl.INSTANCE ); //end::embeddable-multiple-ImplicitNamingStrategyComponentPathImpl[] }
Example #2
Source File: QuarkusStrategySelectorBuilder.java From quarkus with Apache License 2.0 | 5 votes |
private static void addImplicitNamingStrategies(StrategySelectorImpl strategySelector) { strategySelector.registerStrategyImplementor( ImplicitNamingStrategy.class, "default", ImplicitNamingStrategyJpaCompliantImpl.class); strategySelector.registerStrategyImplementor( ImplicitNamingStrategy.class, "jpa", ImplicitNamingStrategyJpaCompliantImpl.class); strategySelector.registerStrategyImplementor( ImplicitNamingStrategy.class, "component-path", ImplicitNamingStrategyComponentPathImpl.class); }
Example #3
Source File: StrategySelectorBuilder.java From lams with GNU General Public License v2.0 | 5 votes |
private void addImplicitNamingStrategies(StrategySelectorImpl strategySelector) { strategySelector.registerStrategyImplementor( ImplicitNamingStrategy.class, "default", ImplicitNamingStrategyJpaCompliantImpl.class ); strategySelector.registerStrategyImplementor( ImplicitNamingStrategy.class, "jpa", ImplicitNamingStrategyJpaCompliantImpl.class ); strategySelector.registerStrategyImplementor( ImplicitNamingStrategy.class, "legacy-jpa", ImplicitNamingStrategyLegacyJpaImpl.class ); strategySelector.registerStrategyImplementor( ImplicitNamingStrategy.class, "legacy-hbm", ImplicitNamingStrategyLegacyHbmImpl.class ); strategySelector.registerStrategyImplementor( ImplicitNamingStrategy.class, "component-path", ImplicitNamingStrategyComponentPathImpl.class ); }