Class AcrossHibernateJpaModuleSettings
java.lang.Object
org.springframework.boot.autoconfigure.orm.jpa.JpaProperties
com.foreach.across.modules.hibernate.AcrossHibernateModuleSettings
com.foreach.across.modules.hibernate.jpa.AcrossHibernateJpaModuleSettings
@ConfigurationProperties("across-hibernate")
public class AcrossHibernateJpaModuleSettings
extends AcrossHibernateModuleSettings
- 
Nested Class Summary
Nested classes/interfaces inherited from class com.foreach.across.modules.hibernate.AcrossHibernateModuleSettings
AcrossHibernateModuleSettings.ApplicationModule, AcrossHibernateModuleSettings.PersistenceContextInViewProperties - 
Field Summary
FieldsFields inherited from class com.foreach.across.modules.hibernate.AcrossHibernateModuleSettings
ADVANCED_DTO_CONVERSION, CREATE_UNITOFWORK_FACTORY, HIBERNATE_PROPERTIES, PERSISTENCE_CONTEXT_VIEW_HANDLER, PERSISTENCE_CONTEXT_VIEW_HANDLER_ORDER, REGISTER_REPOSITORY_INTERCEPTOR - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanName of the persistence unit that is being managed by this module.Should this module register itsPlatformTransactionManager,TransactionTemplateandHibernateSessionHolderas primary when exposing.inthashCode()voidsetPersistenceUnitName(String persistenceUnitName) Name of the persistence unit that is being managed by this module.voidsetPrimary(Boolean primary) Should this module register itsPlatformTransactionManager,TransactionTemplateandHibernateSessionHolderas primary when exposing.toString()Methods inherited from class com.foreach.across.modules.hibernate.AcrossHibernateModuleSettings
getApplicationModule, getDataSource, getHibernate, getHibernateProperties, getHibernateProperties, getPersistenceContextInView, getTransactionProperties, isAdvancedDtoConversion, isCreateUnitOfWorkFactory, isOpenInView, isRegisterRepositoryInterceptor, setAdvancedDtoConversion, setApplicationModule, setCreateUnitOfWorkFactory, setDataSource, setHibernate, setHibernateProperties, setPersistenceContextInView, setRegisterRepositoryInterceptor, setTransactionPropertiesMethods inherited from class org.springframework.boot.autoconfigure.orm.jpa.JpaProperties
getDatabase, getDatabasePlatform, getMappingResources, getOpenInView, getProperties, isGenerateDdl, isShowSql, setDatabase, setDatabasePlatform, setGenerateDdl, setOpenInView, setProperties, setShowSql 
- 
Field Details
- 
PERSISTENCE_UNIT_NAME
- See Also:
 
 - 
PRIMARY
- See Also:
 
 
 - 
 - 
Constructor Details
- 
AcrossHibernateJpaModuleSettings
public AcrossHibernateJpaModuleSettings() 
 - 
 - 
Method Details
- 
getPersistenceUnitName
Name of the persistence unit that is being managed by this module. Defaults to the module name. - 
getPrimary
Should this module register itsPlatformTransactionManager,TransactionTemplateandHibernateSessionHolderas primary when exposing. If set totruethis will also register the default aliases for thePlatformTransactionManagerandTransactionTemplate. If not set explicitly, this will betrueby default for the standardAcrossHibernateJpaModule(with the module nameAcrossHibernateJpaModule) or in case of the module being the only one in an entire Across context. - 
setPersistenceUnitName
Name of the persistence unit that is being managed by this module. Defaults to the module name. - 
setPrimary
Should this module register itsPlatformTransactionManager,TransactionTemplateandHibernateSessionHolderas primary when exposing. If set totruethis will also register the default aliases for thePlatformTransactionManagerandTransactionTemplate. If not set explicitly, this will betrueby default for the standardAcrossHibernateJpaModule(with the module nameAcrossHibernateJpaModule) or in case of the module being the only one in an entire Across context. - 
toString
- Overrides:
 toStringin classAcrossHibernateModuleSettings
 - 
equals
- Overrides:
 equalsin classAcrossHibernateModuleSettings
 - 
canEqual
- Overrides:
 canEqualin classAcrossHibernateModuleSettings
 - 
hashCode
public int hashCode()- Overrides:
 hashCodein classAcrossHibernateModuleSettings
 
 -