diff --git a/src/main/java/com/eactive/apim/portal/config/BaseDatasourceConfiguration.java b/src/main/java/com/eactive/apim/portal/config/BaseDatasourceConfiguration.java index c5c5903..e8100b3 100644 --- a/src/main/java/com/eactive/apim/portal/config/BaseDatasourceConfiguration.java +++ b/src/main/java/com/eactive/apim/portal/config/BaseDatasourceConfiguration.java @@ -73,6 +73,7 @@ public class BaseDatasourceConfiguration { properties.put("hibernate.default_schema", prop.getSchema()); properties.put("javax.persistence.validation.mode", "none"); properties.put("javax.persistence.transactionType", "JTA"); + properties.put("hibernate.format_sql", "true"); if (prop instanceof EmsDatasourceProperty) { persistenceUnit = "portal"; diff --git a/src/main/resources/logback-debug.xml b/src/main/resources/logback-debug.xml index 77ee1eb..3892104 100644 --- a/src/main/resources/logback-debug.xml +++ b/src/main/resources/logback-debug.xml @@ -49,7 +49,6 @@ - @@ -58,16 +57,26 @@ - + + - + - - + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/weblogic.xml b/src/main/resources/weblogic.xml index 7b95551..b8ffd33 100644 --- a/src/main/resources/weblogic.xml +++ b/src/main/resources/weblogic.xml @@ -7,13 +7,13 @@ / - - org.slf4j.* - ch.qos.logback.* - org.apache.log4j.* - org.apache.commons.logging.* - - + + + + + + + true