public interface JdbcDatastoreConfigProperties
extends com.holonplatform.core.config.ConfigPropertySet, com.holonplatform.core.datastore.DataContextBound
ConfigPropertySet
for JDBC Datastore configuration, using DEFAULT_NAME
as property prefix.Modifier and Type | Interface and Description |
---|---|
static class |
JdbcDatastoreConfigProperties.JdbcDatastoreConfigPropertiesImpl
Default implementation
|
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NAME
Configuration property set default name
|
static com.holonplatform.core.config.ConfigProperty<IdentifierResolutionStrategy> |
IDENTIFIER_RESOLUTION_STRATEGY
The
IdentifierResolutionStrategy to use to resolve PropertyBox identifiers. |
static com.holonplatform.core.config.ConfigProperty<com.holonplatform.jdbc.DatabasePlatform> |
PLATFORM
The database platform to use.
|
static com.holonplatform.core.config.ConfigProperty<Boolean> |
PRIMARY
Whether to qualify the Datastore bean as
primary , i.e. the preferential bean to be injected in a
single-valued dependency when multiple candidates are present. |
static com.holonplatform.core.config.ConfigProperty<Boolean> |
TRANSACTIONAL
Whether to add
Transactional behaviour to transactional Datastore methods, to automatically create or
partecipate in a transaction when methods are invoked. |
Modifier and Type | Method and Description |
---|---|
static com.holonplatform.core.config.ConfigPropertySet.Builder<JdbcDatastoreConfigProperties> |
builder()
Builder to create property set instances bound to a property data source, without data context id specification.
|
static com.holonplatform.core.config.ConfigPropertySet.Builder<JdbcDatastoreConfigProperties> |
builder(String dataContextId)
Builder to create property set instances bound to a property data source.
|
static final String DEFAULT_NAME
static final com.holonplatform.core.config.ConfigProperty<Boolean> PRIMARY
primary
, i.e. the preferential bean to be injected in a
single-valued dependency when multiple candidates are present.
By default, the registred Datastore bean is marked as primary only when the DataSource
bean to which is
bound is registered as primary candidate bean.
static final com.holonplatform.core.config.ConfigProperty<com.holonplatform.jdbc.DatabasePlatform> PLATFORM
DatabasePlatform
.
Auto-detected by default.
static final com.holonplatform.core.config.ConfigProperty<Boolean> TRANSACTIONAL
Transactional
behaviour to transactional Datastore methods, to automatically create or
partecipate in a transaction when methods are invoked. Affected methods are: refresh
,
insert
, update
, save
, delete
.static final com.holonplatform.core.config.ConfigProperty<IdentifierResolutionStrategy> IDENTIFIER_RESOLUTION_STRATEGY
IdentifierResolutionStrategy
to use to resolve PropertyBox
identifiers.static com.holonplatform.core.config.ConfigPropertySet.Builder<JdbcDatastoreConfigProperties> builder(String dataContextId)
dataContextId
- Optional data context id to which Datastore
is boundstatic com.holonplatform.core.config.ConfigPropertySet.Builder<JdbcDatastoreConfigProperties> builder()
Copyright © 2019 The Holon Platform. All rights reserved.