public interface JpaDatastore extends com.holonplatform.core.datastore.Datastore, com.holonplatform.core.datastore.transaction.Transactional, EntityManagerHandler, com.holonplatform.core.datastore.DatastoreCommodityRegistrar<JpaDatastoreCommodityContext>
Datastore.| Modifier and Type | Interface and Description |
|---|---|
static interface |
JpaDatastore.Builder<D extends JpaDatastore>
JpaDatastore builder. |
static interface |
JpaDatastore.EntityManagerFinalizer
Interface to perform any close/finalize operation on the
EntityManager instance used for a Datastore
operation execution |
static interface |
JpaDatastore.EntityManagerInitializer
Interface to provide
EntityManager instance to use when executing a Datastore operation |
static interface |
JpaDatastore.EntityManagerLifecycleHandler
Convenience interface which combines
JpaDatastore.EntityManagerInitializer and JpaDatastore.EntityManagerFinalizer. |
| Modifier and Type | Field and Description |
|---|---|
static com.holonplatform.core.config.ConfigProperty<javax.persistence.FlushModeType> |
QUERY_PARAMETER_FLUSH_MODE
A
Query parameter to set the FlushModeType, using
QueryBuilder.parameter(ConfigProperty, Object). |
static com.holonplatform.core.config.ConfigProperty<javax.persistence.LockModeType> |
QUERY_PARAMETER_LOCK_MODE
A
Query parameter to set the LockModeType, using QueryBuilder.parameter(ConfigProperty, Object). |
| Modifier and Type | Method and Description |
|---|---|
static JpaDatastore.Builder<JpaDatastore> |
builder()
Get a builder to create a
JpaDatastore instance. |
bulkDelete, bulkInsert, bulkUpdate, delete, insert, isTransactional, query, query, refresh, requireTransactional, save, updatecreate, getAvailableCommodities, hasCommodityaddExpressionResolver, addExpressionResolvers, removeExpressionResolverwithTransaction, withTransaction, withTransaction, withTransactionwithEntityManager, withEntityManagerstatic final com.holonplatform.core.config.ConfigProperty<javax.persistence.LockModeType> QUERY_PARAMETER_LOCK_MODE
Query parameter to set the LockModeType, using QueryBuilder.parameter(ConfigProperty, Object).static final com.holonplatform.core.config.ConfigProperty<javax.persistence.FlushModeType> QUERY_PARAMETER_FLUSH_MODE
Query parameter to set the FlushModeType, using
QueryBuilder.parameter(ConfigProperty, Object).static JpaDatastore.Builder<JpaDatastore> builder()
JpaDatastore instance.Copyright © 2019 The Holon Platform. All rights reserved.