public interface JpaConfigProperties
extends com.holonplatform.core.config.ConfigPropertySet, com.holonplatform.core.datastore.DataContextBound
ConfigPropertySet for JPA configuration.| Modifier and Type | Interface and Description |
|---|---|
static class |
JpaConfigProperties.JpaConfigPropertiesImpl
Default implementation
|
| Modifier and Type | Field and Description |
|---|---|
static com.holonplatform.core.config.ConfigProperty<com.holonplatform.jdbc.DatabasePlatform> |
DATABASE
Set the database platform to use.
|
static String |
DEFAULT_NAME
Configuration property set default name
|
static com.holonplatform.core.config.ConfigProperty<String> |
DIALECT
Set JPA ORM dialect class name to use, if supported by concrete ORM implementation.
|
static com.holonplatform.core.config.ConfigProperty<Boolean> |
GENERATE_DDL
Whether to initialize the schema on startup.
|
static com.holonplatform.core.config.ConfigProperty<ORMPlatform> |
ORM_PLATFORM
Set JPA ORM platform to use.
|
static com.holonplatform.core.config.ConfigProperty<Boolean> |
SHOW_SQL
Whether to instruct JPA ORM engine to show executed SQL statements, if supported by concrete ORM implementation.
|
| Modifier and Type | Method and Description |
|---|---|
static com.holonplatform.core.config.ConfigPropertySet.Builder<JpaConfigProperties> |
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<JpaConfigProperties> |
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> SHOW_SQL
static final com.holonplatform.core.config.ConfigProperty<Boolean> GENERATE_DDL
static final com.holonplatform.core.config.ConfigProperty<String> DIALECT
static final com.holonplatform.core.config.ConfigProperty<com.holonplatform.jdbc.DatabasePlatform> DATABASE
DatabasePlatform.static final com.holonplatform.core.config.ConfigProperty<ORMPlatform> ORM_PLATFORM
ORMPlatform.static com.holonplatform.core.config.ConfigPropertySet.Builder<JpaConfigProperties> builder(String dataContextId)
dataContextId - Optional data context id to which DataSource is boundstatic com.holonplatform.core.config.ConfigPropertySet.Builder<JpaConfigProperties> builder()
Copyright © 2019 The Holon Platform. All rights reserved.