From 7717d75918fb63ee7e9d7bf31de2696577b7e991 Mon Sep 17 00:00:00 2001 From: Christian Maierhofer Date: Tue, 28 Jun 2016 13:47:52 +0200 Subject: statisticlogger dbcp connection pool --- .../src/main/resources/statistic.logging.beans.xml | 73 ++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 id/server/moa-id-commons/src/main/resources/statistic.logging.beans.xml (limited to 'id/server/moa-id-commons/src/main/resources/statistic.logging.beans.xml') diff --git a/id/server/moa-id-commons/src/main/resources/statistic.logging.beans.xml b/id/server/moa-id-commons/src/main/resources/statistic.logging.beans.xml new file mode 100644 index 000000000..fc8edf44e --- /dev/null +++ b/id/server/moa-id-commons/src/main/resources/statistic.logging.beans.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${advancedlogging.hibernate.dialect} + ${advancedlogging.hibernate.show_sql} + ${advancedlogging.hibernate.hbm2ddl.auto} + ${advancedlogging.hibernate.current_session_context_class} + ${advancedlogging.hibernate.transaction.flush_before_completion} + ${advancedlogging.hibernate.transaction.auto_close_session} + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3 From 7ef57c3ceb296f06aa76ba3e6d3499b3a2772aff Mon Sep 17 00:00:00 2001 From: Christian Maierhofer Date: Wed, 29 Jun 2016 11:18:55 +0200 Subject: using annotations for hibernate configuration now --- .../src/main/resources/statistic.logging.beans.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'id/server/moa-id-commons/src/main/resources/statistic.logging.beans.xml') diff --git a/id/server/moa-id-commons/src/main/resources/statistic.logging.beans.xml b/id/server/moa-id-commons/src/main/resources/statistic.logging.beans.xml index fc8edf44e..5f80c6439 100644 --- a/id/server/moa-id-commons/src/main/resources/statistic.logging.beans.xml +++ b/id/server/moa-id-commons/src/main/resources/statistic.logging.beans.xml @@ -11,8 +11,8 @@ http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd"> - - + + @@ -35,7 +35,9 @@ + + ${advancedlogging.hibernate.dialect} ${advancedlogging.hibernate.show_sql} @@ -52,7 +54,7 @@ - + @@ -61,13 +63,13 @@ - + - + \ No newline at end of file -- cgit v1.2.3