public abstract class PersistenceEnv extends Object
| Constructor and Description |
|---|
PersistenceEnv() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
close()
Close the environment and free all associated resources.
|
<A> Function<Function<javax.persistence.EntityManager,A>,A> |
tx()
tx(org.opencastproject.util.data.Function) as a function. |
abstract <A> A |
tx(Function<javax.persistence.EntityManager,A> transactional)
Run code inside a transaction.
|
public abstract <A> A tx(Function<javax.persistence.EntityManager,A> transactional)
public <A> Function<Function<javax.persistence.EntityManager,A>,A> tx()
tx(org.opencastproject.util.data.Function) as a function.public abstract void close()
Copyright © 2009–2021 Opencast Project. All rights reserved.