Package de.xima.fc.jpa
Interface IEMFactory
-
- All Known Implementing Classes:
InternalEMFactory
@Deprecated(since="8.5.0", forRemoval=true) public interface IEMFactory
Deprecated, for removal: This API element is subject to removal in a future version.The system EntityManagerFactory is now managed in the fc-persistence module. UseSystemPersistenceManager.getEntityManagerFactory()instead.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated, for removal: This API element is subject to removal in a future version.DataSourcegetDataSource()Deprecated, for removal: This API element is subject to removal in a future version.EDatenbankTypgetDBType()Deprecated, for removal: This API element is subject to removal in a future version.javax.persistence.EntityManagerFactorygetEntityManagerFactory()Deprecated, for removal: This API element is subject to removal in a future version.StringgetPersistenceUnitName()Deprecated, for removal: This API element is subject to removal in a future version.default booleanisConfigurable()Deprecated.unusedbooleanisOpen()Deprecated, for removal: This API element is subject to removal in a future version.javax.persistence.EntityManagernewEntityManager()Deprecated, for removal: This API element is subject to removal in a future version.voidopen()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
newEntityManager
javax.persistence.EntityManager newEntityManager() throws FcPersistenceExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Throws:
FcPersistenceException
-
getPersistenceUnitName
String getPersistenceUnitName()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getDBType
EDatenbankTyp getDBType()
Deprecated, for removal: This API element is subject to removal in a future version.
-
open
void open()
Deprecated, for removal: This API element is subject to removal in a future version.
-
close
void close()
Deprecated, for removal: This API element is subject to removal in a future version.
-
isOpen
boolean isOpen()
Deprecated, for removal: This API element is subject to removal in a future version.
-
isConfigurable
@Deprecated default boolean isConfigurable()
Deprecated.unused- Returns:
trueif the entity manager factory is configurable,falseotherwise
-
getEntityManagerFactory
javax.persistence.EntityManagerFactory getEntityManagerFactory() throws FcPersistenceExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Throws:
FcPersistenceException
-
getDataSource
DataSource getDataSource() throws FcPersistenceException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
FcPersistenceException
-
-