Package io.jmix.data.impl
Class JmixJtaEntityManagerFactoryBean
java.lang.Object
org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
io.jmix.data.impl.JmixBaseEntityManagerFactoryBean
io.jmix.data.impl.JmixJtaEntityManagerFactoryBean
- All Implemented Interfaces:
Serializable
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.FactoryBean<jakarta.persistence.EntityManagerFactory>
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ResourceLoaderAware
,org.springframework.context.weaving.LoadTimeWeaverAware
,org.springframework.dao.support.PersistenceExceptionTranslator
,org.springframework.orm.jpa.EntityManagerFactoryInfo
- See Also:
-
Field Summary
Fields inherited from class io.jmix.data.impl.JmixBaseEntityManagerFactoryBean
dbmsSpecifics, jmixModules, resources, storeName
Fields inherited from class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
ConstructorDescriptionJmixJtaEntityManagerFactoryBean
(String storeName, DataSource jtaDataSource, org.springframework.orm.jpa.JpaVendorAdapter jpaVendorAdapter, DbmsSpecifics dbmsSpecifics, JmixModules jmixModules, Resources resources) -
Method Summary
Methods inherited from class io.jmix.data.impl.JmixBaseEntityManagerFactoryBean
getPersistenceXmlPath, setupPersistenceUnit
Methods inherited from class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
afterPropertiesSet, createNativeEntityManagerFactory, determinePersistenceUnitInfo, getDataSource, getPersistenceUnitInfo, getPersistenceUnitName, postProcessEntityManagerFactory, setDataSource, setJtaDataSource, setLoadTimeWeaver, setManagedTypes, setMappingResources, setPackagesToScan, setPersistenceUnitManager, setPersistenceUnitName, setPersistenceUnitPostProcessors, setPersistenceUnitRootLocation, setPersistenceXmlLocation, setResourceLoader, setSharedCacheMode, setValidationMode
Methods inherited from class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
createEntityManagerFactoryProxy, createNativeEntityManager, destroy, getBeanClassLoader, getBootstrapExecutor, getEntityManagerInterface, getJpaDialect, getJpaPropertyMap, getJpaVendorAdapter, getNativeEntityManagerFactory, getObject, getObjectType, getPersistenceProvider, isSingleton, postProcessEntityManager, setBeanClassLoader, setBeanFactory, setBeanName, setBootstrapExecutor, setEntityManagerFactoryInterface, setEntityManagerInitializer, setEntityManagerInterface, setJpaDialect, setJpaProperties, setJpaPropertyMap, setJpaVendorAdapter, setPersistenceProvider, setPersistenceProviderClass, translateExceptionIfPossible, writeReplace
-
Constructor Details
-
JmixJtaEntityManagerFactoryBean
public JmixJtaEntityManagerFactoryBean(String storeName, DataSource jtaDataSource, org.springframework.orm.jpa.JpaVendorAdapter jpaVendorAdapter, DbmsSpecifics dbmsSpecifics, JmixModules jmixModules, Resources resources)
-
-
Method Details
-
setupJpaProperties
protected void setupJpaProperties()- Overrides:
setupJpaProperties
in classJmixBaseEntityManagerFactoryBean
-