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

juhan pushed a commit to branch spring_boot_2
in repository https://gitbox.apache.org/repos/asf/fineract-cn-postgresql.git

commit 8520c02f8e78053fb5cbb6fb97ebbe0d48a12c11
Author: Juhan Aasaru <[email protected]>
AuthorDate: Sun Oct 13 19:17:05 2019 +0300

    externalize first EclipseLink property
---
 README.md                                                              | 3 +++
 .../fineract/cn/postgresql/config/EclipseLinkJpaConfiguration.java     | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index b8ccbac..e7c8b0c 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,8 @@
 # Apache Fineract CN PostgreSQL [![Build 
Status](https://api.travis-ci.com/apache/fineract-cn-postgresql.svg?branch=develop)](https://travis-ci.com/apache/fineract-cn-postgresql)
 
+For fineract-cn-* repositories this library provides tenant-separation based 
on header contents.
+[Read 
more](https://cwiki.apache.org/confluence/display/FINERACT/Fineract+CN+Project+Structure#FineractCNProjectStructure-postgresqlDBanddatapersistence).
+
 ## Abstract
 Apache Fineract CN is an application framework for digital financial services, 
a system to support nationwide and cross-national financial transactions and 
help to level and speed the creation of an inclusive, interconnected digital 
economy for every nation in the world.
 
diff --git 
a/src/main/java/org/apache/fineract/cn/postgresql/config/EclipseLinkJpaConfiguration.java
 
b/src/main/java/org/apache/fineract/cn/postgresql/config/EclipseLinkJpaConfiguration.java
index 135d263..2621582 100644
--- 
a/src/main/java/org/apache/fineract/cn/postgresql/config/EclipseLinkJpaConfiguration.java
+++ 
b/src/main/java/org/apache/fineract/cn/postgresql/config/EclipseLinkJpaConfiguration.java
@@ -56,7 +56,7 @@ import java.util.Map;
 })
 public class EclipseLinkJpaConfiguration extends JpaBaseConfiguration {
 
-       @Value(EclipseLinkConstants.ECLIPSE_LINK_SHOW_SQL + ":" + 
EclipseLinkConstants.ECLIPSE_LINK_SHOW_SQL_DEFAULT)
+       @Value("#{new Boolean(${" + EclipseLinkConstants.ECLIPSE_LINK_SHOW_SQL 
+ ":" + EclipseLinkConstants.ECLIPSE_LINK_SHOW_SQL_DEFAULT + "})}")
        private Boolean eclipseLinkShowSql;
 
        protected EclipseLinkJpaConfiguration(DataSource dataSource, 
JpaProperties properties, ObjectProvider<JtaTransactionManager> 
jtaTransactionManagerProvider) {

Reply via email to