A B D E F G J N O P S U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- applicationLifecycle() - Method in interface play.db.jpa.JPAComponents
B
- bindings(Environment, Config) - Method in class play.db.jpa.JPAModule
D
- DefaultJPAApi - Class in play.db.jpa
-
Default implementation of the JPA API.
- DefaultJPAApi(JPAConfig) - Constructor for class play.db.jpa.DefaultJPAApi
- DefaultJPAApi.JPAApiProvider - Class in play.db.jpa
- DefaultJPAConfig - Class in play.db.jpa
-
Default JPA configuration.
- DefaultJPAConfig(Set<JPAConfig.PersistenceUnit>) - Constructor for class play.db.jpa.DefaultJPAConfig
- DefaultJPAConfig(JPAConfig.PersistenceUnit...) - Constructor for class play.db.jpa.DefaultJPAConfig
- DefaultJPAConfig.JPAConfigProvider - Class in play.db.jpa
E
- em(String) - Method in class play.db.jpa.DefaultJPAApi
-
Get a newly created EntityManager for the specified persistence unit name.
- em(String) - Method in interface play.db.jpa.JPAApi
-
Get a newly created EntityManager for the specified persistence unit name.
F
- from(Map<String, String>) - Static method in class play.db.jpa.DefaultJPAConfig
-
Create a default JPA configuration from a map of names to unit names.
G
- get() - Method in class play.db.jpa.DefaultJPAApi.JPAApiProvider
- get() - Method in class play.db.jpa.DefaultJPAConfig.JPAConfigProvider
J
- jpaApi() - Method in interface play.db.jpa.JPAComponents
- JPAApi - Interface in play.db.jpa
-
JPA API.
- JPAApiProvider(JPAConfig, ApplicationLifecycle, DBApi) - Constructor for class play.db.jpa.DefaultJPAApi.JPAApiProvider
- JPAApiProvider(JPAConfig, ApplicationLifecycle, DBApi, Config) - Constructor for class play.db.jpa.DefaultJPAApi.JPAApiProvider
-
Deprecated.Deprecated as of 2.8.0. Use
JPAApiProvider(JPAConfig, ApplicationLifecycle, DBApi)
instead. - JPAComponents - Interface in play.db.jpa
-
Java JPA Components.
- jpaConfig() - Method in interface play.db.jpa.JPAComponents
- JPAConfig - Interface in play.db.jpa
-
JPA configuration.
- JPAConfig.PersistenceUnit - Class in play.db.jpa
- JPAConfigProvider(Config) - Constructor for class play.db.jpa.DefaultJPAConfig.JPAConfigProvider
- JPAModule - Class in play.db.jpa
-
Injection module with default JPA components.
- JPAModule() - Constructor for class play.db.jpa.JPAModule
N
- name - Variable in class play.db.jpa.JPAConfig.PersistenceUnit
O
- of(String, String) - Static method in class play.db.jpa.DefaultJPAConfig
-
Create a default JPA configuration with the given name and unit name.
- of(String, String, String, String) - Static method in class play.db.jpa.DefaultJPAConfig
-
Create a default JPA configuration with the given names and unit names.
- of(String, String, String, String, String, String) - Static method in class play.db.jpa.DefaultJPAConfig
-
Create a default JPA configuration with the given names and unit names.
P
- PersistenceUnit(String, String) - Constructor for class play.db.jpa.JPAConfig.PersistenceUnit
- persistenceUnits() - Method in class play.db.jpa.DefaultJPAConfig
- persistenceUnits() - Method in interface play.db.jpa.JPAConfig
- play.db.jpa - package play.db.jpa
-
Provides JPA ORM integration.
S
- shutdown() - Method in class play.db.jpa.DefaultJPAApi
-
Close all entity manager factories.
- shutdown() - Method in interface play.db.jpa.JPAApi
-
Close all entity manager factories.
- start() - Method in class play.db.jpa.DefaultJPAApi
-
Initialise JPA entity manager factories.
- start() - Method in interface play.db.jpa.JPAApi
-
Initialise JPA entity manager factories.
U
- unitName - Variable in class play.db.jpa.JPAConfig.PersistenceUnit
W
- withTransaction(String, boolean, Consumer<EntityManager>) - Method in class play.db.jpa.DefaultJPAApi
-
Run a block of code with a newly created EntityManager for the named Persistence Unit.
- withTransaction(String, boolean, Consumer<EntityManager>) - Method in interface play.db.jpa.JPAApi
-
Run a block of code with a newly created EntityManager for the named Persistence Unit.
- withTransaction(String, boolean, Function<EntityManager, T>) - Method in class play.db.jpa.DefaultJPAApi
-
Run a block of code with a newly created EntityManager for the named Persistence Unit.
- withTransaction(String, boolean, Function<EntityManager, T>) - Method in interface play.db.jpa.JPAApi
-
Run a block of code with a newly created EntityManager for the named Persistence Unit.
- withTransaction(String, Consumer<EntityManager>) - Method in class play.db.jpa.DefaultJPAApi
-
Run a block of code with a newly created EntityManager for the named Persistence Unit.
- withTransaction(String, Consumer<EntityManager>) - Method in interface play.db.jpa.JPAApi
-
Run a block of code with a newly created EntityManager for the named Persistence Unit.
- withTransaction(String, Function<EntityManager, T>) - Method in class play.db.jpa.DefaultJPAApi
-
Run a block of code with a newly created EntityManager for the named Persistence Unit.
- withTransaction(String, Function<EntityManager, T>) - Method in interface play.db.jpa.JPAApi
-
Run a block of code with a newly created EntityManager for the named Persistence Unit.
- withTransaction(Consumer<EntityManager>) - Method in class play.db.jpa.DefaultJPAApi
-
Run a block of code with a newly created EntityManager for the default Persistence Unit.
- withTransaction(Consumer<EntityManager>) - Method in interface play.db.jpa.JPAApi
-
Run a block of code with a newly created EntityManager for the default Persistence Unit.
- withTransaction(Function<EntityManager, T>) - Method in class play.db.jpa.DefaultJPAApi
-
Run a block of code with a newly created EntityManager for the default Persistence Unit.
- withTransaction(Function<EntityManager, T>) - Method in interface play.db.jpa.JPAApi
-
Run a block of code with a newly created EntityManager for the default Persistence Unit.
All Classes All Packages