@groovy.transform.CompileStatic @org.springframework.context.annotation.Configuration @org.springframework.boot.autoconfigure.condition.ConditionalOnClass(value: HibernateMappingContextConfiguration) @org.springframework.boot.autoconfigure.condition.ConditionalOnBean(value: DataSource) @org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean(type: grails.orm.bootstrap.HibernateDatastoreSpringInitializer) @org.springframework.boot.autoconfigure.AutoConfigureAfter(value: DataSourceAutoConfiguration) @org.springframework.boot.autoconfigure.AutoConfigureBefore(name: org.springframework.boot.hibernate.autoconfigure.HibernateJpaAutoConfiguration) class HibernateGormAutoConfiguration extends java.lang.Object implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.BeanFactoryAware
Auto configuration for GORM for Hibernate
| Type | Name and description |
|---|---|
org.springframework.context.ConfigurableApplicationContext |
applicationContext |
org.springframework.beans.factory.BeanFactory |
beanFactory |
javax.sql.DataSource |
dataSource |
| Constructor and description |
|---|
HibernateGormAutoConfiguration() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
HibernateDatastore |
hibernateDatastore() |
|
org.springframework.transaction.PlatformTransactionManager |
hibernateTransactionManager() |
|
org.hibernate.SessionFactory |
sessionFactory() |
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |