Interface IPersistenceContext
-
- All Superinterfaces:
ch.ivyteam.ivy.scripting.IProjectSpecificClass
public interface IPersistenceContext extends ch.ivyteam.ivy.scripting.IProjectSpecificClass
The interface of the persistence attribute of the ivy variable. This interface offers anIIvyEntityManager
for all the persistence units which are configured in the persistence configuration.- Since:
- 28.05.2009
- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IIvyEntityManager
get(String persistenceUnitName)
Gets anIIvyEntityManager
for managing entity classes of the persistence unit with the given name.
-
-
-
Method Detail
-
get
IIvyEntityManager get(String persistenceUnitName)
Gets anIIvyEntityManager
for managing entity classes of the persistence unit with the given name.- Parameters:
persistenceUnitName
- the name of the persistence unit which is used for loading the right persistence unit configuration- Returns:
- an
IIvyEntityManager
for managing entity classes - API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
-