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 2022/05/23 11:51:50 UTC

[isis-app-simpleapp] branch jdo-SNAPSHOT updated (6b21fe4 -> f73a418)

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

danhaywood pushed a change to branch jdo-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git


    from 6b21fe4  Merge branch 'jpa-SNAPSHOT' into jdo-SNAPSHOT
     add 84d3d6a  removes unused properties
     new 4c0ed02  Merge branch 'jpa-SNAPSHOT' into jdo-SNAPSHOT
     new f73a418  uses datanucleus.schema.generated-database.mode rather than 'auto-create-tables'

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:
 pom.xml                                                 | 2 --
 webapp-tests/src/test/resources/application-test.yml    | 5 +++++
 webapp/src/main/resources/config/application.properties | 2 +-
 3 files changed, 6 insertions(+), 3 deletions(-)


[isis-app-simpleapp] 02/02: uses datanucleus.schema.generated-database.mode rather than 'auto-create-tables'

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

danhaywood pushed a commit to branch jdo-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git

commit f73a418b7ad39f83f1abf7bb170f81ce77fd42ea
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Mon May 23 12:51:41 2022 +0100

    uses datanucleus.schema.generated-database.mode rather than 'auto-create-tables'
---
 webapp-tests/src/test/resources/application-test.yml    | 5 +++++
 webapp/src/main/resources/config/application.properties | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/webapp-tests/src/test/resources/application-test.yml b/webapp-tests/src/test/resources/application-test.yml
index 3a68cae..cbf0d20 100644
--- a/webapp-tests/src/test/resources/application-test.yml
+++ b/webapp-tests/src/test/resources/application-test.yml
@@ -2,3 +2,8 @@ isis:
   persistence:
     schema:
       auto-create-schemas: "simple"
+
+datanucleus:
+  schema:
+    generate-database:
+      mode: "create"
diff --git a/webapp/src/main/resources/config/application.properties b/webapp/src/main/resources/config/application.properties
index 173cd3c..b4958a1 100644
--- a/webapp/src/main/resources/config/application.properties
+++ b/webapp/src/main/resources/config/application.properties
@@ -17,7 +17,7 @@ spring.datasource.driver-class-name=org.h2.Driver
 isis.persistence.schema.create-schema-sql-template=CREATE SCHEMA IF NOT EXISTS %s
 isis.persistence.schema.auto-create-schemas=simple
 
-datanucleus.schema.autoCreateTables=true
+datanucleus.schema.generate-database.mode=create
 
 # uncomment to run during bootstrap
 #isis.testing.fixtures.initial-script = domainapp.webapp.application.fixture.scenarios.DomainAppDemo


[isis-app-simpleapp] 01/02: Merge branch 'jpa-SNAPSHOT' into jdo-SNAPSHOT

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

danhaywood pushed a commit to branch jdo-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git

commit 4c0ed02f58c3c8909eef5cbef87b1198b5362192
Merge: 6b21fe4 84d3d6a
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Mon May 23 11:52:54 2022 +0100

    Merge branch 'jpa-SNAPSHOT' into jdo-SNAPSHOT

 pom.xml | 2 --
 1 file changed, 2 deletions(-)