You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by da...@apache.org on 2024/05/30 05:51:35 UTC

(causeway) branch v3 updated: Update setup-and-configuration.adoc

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

danhaywood pushed a commit to branch v3
in repository https://gitbox.apache.org/repos/asf/causeway.git


The following commit(s) were added to refs/heads/v3 by this push:
     new 4c491728fe Update setup-and-configuration.adoc
4c491728fe is described below

commit 4c491728fe1c673741ad9a407f7565cb32f736da
Author: Alf Richter <h2...@users.noreply.github.com>
AuthorDate: Wed May 29 22:05:03 2024 +0200

    Update setup-and-configuration.adoc
    
    add MODE=LEGACY for H2 and EclipseLink
---
 persistence/jpa/adoc/modules/ROOT/pages/setup-and-configuration.adoc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 e774785ffe..789209cfb0 100644
--- a/persistence/jpa/adoc/modules/ROOT/pages/setup-and-configuration.adoc
+++ b/persistence/jpa/adoc/modules/ROOT/pages/setup-and-configuration.adoc
@@ -41,9 +41,10 @@ For example, the xref:docs:starters:simpleapp.adoc[SimpleApp] starter app define
 .app.properties
 ----
 spring.sql.init.platform=h2
-spring.datasource.url=jdbc:h2:mem:simple
+spring.datasource.url=jdbc:h2:mem:simple;MODE=LEGACY
 spring.datasource.driver-class-name=org.h2.Driver
 ----
+NOTE: Eclipse Link needs `MODE=LEGACY` in the url above, because of this bug in EclipseLink: link:https://github.com/eclipse-ee4j/eclipselink/issues/1393[eclipselink-issue-1393]
 
 * for SQL Server:
 +