public interface IHibernateConfig
com.bravestone.hibernate.configuration.HibernateConfig},
com.bravestone.hibernate.configuration.JPAConfig},
org.hibernate.cfg.AvailableSettings},
org.hibernate.jpa.AvailableSettings}| Modifier and Type | Method and Description |
|---|---|
default List<Class<?>> |
getAnnotatedClasses()
Returns classes for
Configuration object to build a
SessionFactory. |
default String |
getConnectionName()
Returns connection name
|
default org.hibernate.SessionFactory |
getSessionFactory()
Called by
HibernateService. |
default boolean |
isFlywayActive()
Returns if flyway is active
|
default boolean |
isLoggingEnabled()
Returns if Logging is enabled
|
default void |
overrideConfig()
Function which gets called after loading the config file, but before init the connection
|
default List<Class<?>> getAnnotatedClasses()
Configuration object to build a
SessionFactory.
return HibernateConfig#NO_ANNOTATED_CLASSES if no further classes
should be added.
org.hibernate.cfg.Configuration},
org.hibernate.SessionFactory}default boolean isLoggingEnabled()
default boolean isFlywayActive()
default org.hibernate.SessionFactory getSessionFactory()
HibernateService.SessionFactory instancedefault String getConnectionName()
default void overrideConfig()
Copyright © 2014–2015. All rights reserved.