Package de.xima.fc.jpa
Interface IEMFactory
-
- All Known Implementing Classes:
InternalEMFactory
public interface IEMFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description void
close()
DataSource
getDataSource()
EDatenbankTyp
getDBType()
javax.persistence.EntityManagerFactory
getEntityManagerFactory()
String
getPersistenceUnitName()
default boolean
isConfigurable()
Deprecated.unusedboolean
isOpen()
javax.persistence.EntityManager
newEntityManager()
void
open()
-
-
-
Method Detail
-
newEntityManager
javax.persistence.EntityManager newEntityManager()
-
getPersistenceUnitName
String getPersistenceUnitName()
-
getDBType
EDatenbankTyp getDBType()
-
open
void open()
-
close
void close()
-
isOpen
boolean isOpen()
-
isConfigurable
@Deprecated default boolean isConfigurable()
Deprecated.unused- Returns:
true
if the entity manager factory is configurable,false
otherwise
-
getEntityManagerFactory
javax.persistence.EntityManagerFactory getEntityManagerFactory()
-
getDataSource
DataSource getDataSource()
-
-