ContainerManagedEntityManagerProvider
which moved to jakarta.@Deprecated public class ContainerManagedEntityManagerProvider extends Object implements EntityManagerProvider
PersistenceContext
,
EntityManager
Constructor and Description |
---|
ContainerManagedEntityManagerProvider()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
javax.persistence.EntityManager |
getEntityManager()
Deprecated.
Returns the EntityManager instance to use.
|
void |
setEntityManager(javax.persistence.EntityManager entityManager)
Deprecated.
Sets the container managed entityManager to use.
|
public ContainerManagedEntityManagerProvider()
@Nonnull public javax.persistence.EntityManager getEntityManager()
EntityManagerProvider
getEntityManager
in interface EntityManagerProvider
public void setEntityManager(javax.persistence.EntityManager entityManager)
entityManager
- the entityManager to return upon request.Copyright © 2010–2024. All rights reserved.