public interface PersistenceEnv2<F>
PersistenceEnv| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the environment and free all associated resources.
|
<A> Either<F,A> |
tx(Function<javax.persistence.EntityManager,A> transactional)
Run code inside a transaction.
|
Copyright © 2009–2021 Opencast Project. All rights reserved.