| Modifier and Type | Method and Description |
|---|---|
Hbm |
Hbm.classes(Class... classes)
Append persistent classes (classess annotated with Entity).
|
<T> Hbm |
Hbm.doWithBootstrap(BiConsumer<org.hibernate.boot.registry.BootstrapServiceRegistryBuilder,com.typesafe.config.Config> configurer)
Configurer callback to apply advanced configuration while bootstrapping hibernate:
|
<T> Hbm |
Hbm.doWithBootstrap(Consumer<org.hibernate.boot.registry.BootstrapServiceRegistryBuilder> configurer)
Configurer callback to apply advanced configuration while bootstrapping hibernate:
|
<T> Hbm |
Hbm.doWithRegistry(BiConsumer<org.hibernate.boot.registry.StandardServiceRegistryBuilder,com.typesafe.config.Config> configurer)
Configurer callback to apply advanced configuration while bootstrapping hibernate:
|
<T> Hbm |
Hbm.doWithRegistry(Consumer<org.hibernate.boot.registry.StandardServiceRegistryBuilder> configurer)
Configurer callback to apply advanced configuration while bootstrapping hibernate:
|
<T> Hbm |
Hbm.doWithSessionFactory(BiConsumer<org.hibernate.SessionFactory,com.typesafe.config.Config> configurer)
Configurer callback to apply advanced configuration while bootstrapping hibernate:
|
<T> Hbm |
Hbm.doWithSessionFactory(Consumer<org.hibernate.SessionFactory> configurer)
Configurer callback to apply advanced configuration while bootstrapping hibernate:
|
<T> Hbm |
Hbm.doWithSessionFactoryBuilder(BiConsumer<org.hibernate.boot.SessionFactoryBuilder,com.typesafe.config.Config> configurer)
Configurer callback to apply advanced configuration while bootstrapping hibernate:
|
<T> Hbm |
Hbm.doWithSessionFactoryBuilder(Consumer<org.hibernate.boot.SessionFactoryBuilder> configurer)
Configurer callback to apply advanced configuration while bootstrapping hibernate:
|
<T> Hbm |
Hbm.doWithSources(BiConsumer<org.hibernate.boot.MetadataSources,com.typesafe.config.Config> configurer)
Configurer callback to apply advanced configuration while bootstrapping hibernate:
|
<T> Hbm |
Hbm.doWithSources(Consumer<org.hibernate.boot.MetadataSources> configurer)
Configurer callback to apply advanced configuration while bootstrapping hibernate:
|
<T> Hbm |
Hbm.onEvent(org.hibernate.event.spi.EventType<T> type,
Class<? extends T> listenerType)
Register an hibernate event listener.
|
Hbm |
Hbm.scan()
Scan the packages defined by
hibernate.packagesToScan property or the application
package (that's the package where you application was defined) and discover persistent classes
(annotated with Entity). |
Hbm |
Hbm.scan(String... packages)
Scan the provided packages and discover persistent classes (annotated with Entity).
|
Copyright © 2019. All rights reserved.