You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2021/04/04 09:41:00 UTC

[isis] branch 2.0.0-M5 updated (caa824a -> 4b126a1)

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a change to branch 2.0.0-M5
in repository https://gitbox.apache.org/repos/asf/isis.git.


    from caa824a  ISIS-2484: fixes links for security guide
     new 2496425  minor tweaks to jdo and jpa config guide
     new 4b126a1  ISIS-2484: adds docs on setting up other EclipseLink config props

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../ROOT/pages/setup-and-configuration.adoc        |  3 +++
 .../ROOT/pages/setup-and-configuration.adoc        | 24 ++++++++++++++++++++--
 2 files changed, 25 insertions(+), 2 deletions(-)

[isis] 02/02: ISIS-2484: adds docs on setting up other EclipseLink config props

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch 2.0.0-M5
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 4b126a184f4c469f82bb19568fa1c97bf8ac8609
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Sun Apr 4 10:40:42 2021 +0100

    ISIS-2484: adds docs on setting up other EclipseLink config props
---
 .../modules/ROOT/pages/setup-and-configuration.adoc   | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/persistence/jpa/adoc/modules/ROOT/pages/setup-and-configuration.adoc b/persistence/jpa/adoc/modules/ROOT/pages/setup-and-configuration.adoc
index 024ebde..f5708cc 100644
--- a/persistence/jpa/adoc/modules/ROOT/pages/setup-and-configuration.adoc
+++ b/persistence/jpa/adoc/modules/ROOT/pages/setup-and-configuration.adoc
@@ -113,6 +113,25 @@ It is also possible to programmatically define a `DataSource`; see the link:http
 
 
 
+== EclipseLink Configuration Properties
+
+The following configuration properties are fixed and cannot (as of this release) be overridden:
+
+* link:https://www.eclipse.org/eclipselink/documentation/2.7/jpa/extensions/persistenceproperties_ref.htm#weaving[eclipselink.weaving]
++
+is set to `false`
+
+* link:https://www.eclipse.org/eclipselink/documentation/2.7/jpa/extensions/persistenceproperties_ref.htm#BABHEJJI[eclipselink.ddl-generation]
++
+is set to `create-or-extend-tables`
+
+* `javax.persistence.bean.manager`
++
+is set to an Apache Isis implementation, to assist with dependency injection into entities.
+
+To set other EclipseLink configuration properties is possible though not convenient: use a subclass of xref:refguide:persistence:index/jpa/eclipselink/IsisModuleJpaEclipselink.adoc[] and override `getVendorProperties()`.
+
+
 == Other Configuration Properties
 
 The JPA object store also supports the following configuration properties:

[isis] 01/02: minor tweaks to jdo and jpa config guide

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch 2.0.0-M5
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 2496425ba0086fe2e79c047c00418346b860ef33
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Sun Apr 4 08:08:37 2021 +0100

    minor tweaks to jdo and jpa config guide
---
 persistence/jdo/adoc/modules/ROOT/pages/setup-and-configuration.adoc | 3 +++
 persistence/jpa/adoc/modules/ROOT/pages/setup-and-configuration.adoc | 5 +++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/persistence/jdo/adoc/modules/ROOT/pages/setup-and-configuration.adoc b/persistence/jdo/adoc/modules/ROOT/pages/setup-and-configuration.adoc
index 69fd297..56112a1 100644
--- a/persistence/jdo/adoc/modules/ROOT/pages/setup-and-configuration.adoc
+++ b/persistence/jdo/adoc/modules/ROOT/pages/setup-and-configuration.adoc
@@ -4,6 +4,9 @@
 
 
 
+This section describes how to include the JDO module and setup its configuration properties.
+
+
 == Maven pom.xml
 
 === Dependency Management
diff --git a/persistence/jpa/adoc/modules/ROOT/pages/setup-and-configuration.adoc b/persistence/jpa/adoc/modules/ROOT/pages/setup-and-configuration.adoc
index 51ceaec..024ebde 100644
--- a/persistence/jpa/adoc/modules/ROOT/pages/setup-and-configuration.adoc
+++ b/persistence/jpa/adoc/modules/ROOT/pages/setup-and-configuration.adoc
@@ -82,7 +82,8 @@ public class AppManifest {
 == DataSource
 
 The JPA object store uses Spring to provide a `javax.sql.DataSource`.
-Normally this is done by setting the `spring.datasource` configuration properties.
+Normally this is done by setting the `spring.datasource` configuration properties, as described in the
+link:https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features-connect-to-production-database-configuration[Spring Boot] documentation.
 
 For example, the xref:docs:starters:simpleapp.adoc[SimpleApp] starter app defines these:
 
@@ -114,7 +115,7 @@ It is also possible to programmatically define a `DataSource`; see the link:http
 
 == Other Configuration Properties
 
-The JPA object store also supports the following configuraiton properties:
+The JPA object store also supports the following configuration properties:
 
 * xref:refguide:config:sections/isis.persistence.schema.adoc#isis.persistence.schema.additional-orm-files[isis.persistence.schema.additional-orm-files]
 +