From e8533fdb40ffbd61574d381643dae5c8fbf61370 Mon Sep 17 00:00:00 2001 From: Mathieu Baudier Date: Sat, 28 Jun 2008 17:07:00 +0000 Subject: [PATCH] Introduce transaction management git-svn-id: https://svn.argeo.org/slc/trunk@1311 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- .../webapp/WEB-INF/applicationContext.xml | 38 +++++++++++++++++-- .../src/main/webapp/WEB-INF/log4j.properties | 5 ++- 2 files changed, 39 insertions(+), 4 deletions(-) diff --git a/org.argeo.slc.webapp/src/main/webapp/WEB-INF/applicationContext.xml b/org.argeo.slc.webapp/src/main/webapp/WEB-INF/applicationContext.xml index ea87d4025..7858ce798 100644 --- a/org.argeo.slc.webapp/src/main/webapp/WEB-INF/applicationContext.xml +++ b/org.argeo.slc.webapp/src/main/webapp/WEB-INF/applicationContext.xml @@ -1,12 +1,44 @@ - + xmlns:aop="http://www.springframework.org/schema/aop" + xmlns:tx="http://www.springframework.org/schema/tx" + xsi:schemaLocation=" + http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd + http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd + http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd"> + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/org.argeo.slc.webapp/src/main/webapp/WEB-INF/log4j.properties b/org.argeo.slc.webapp/src/main/webapp/WEB-INF/log4j.properties index ee7a36932..38c282917 100644 --- a/org.argeo.slc.webapp/src/main/webapp/WEB-INF/log4j.properties +++ b/org.argeo.slc.webapp/src/main/webapp/WEB-INF/log4j.properties @@ -7,11 +7,14 @@ log4j.logger.org.argeo.slc=DEBUG # Spring log4j.logger.org.springframework=WARN +log4j.logger.org.springframework.transaction=DEBUG +log4j.logger.org.springframework.orm.hibernate3=DEBUG # Hibernate log4j.logger.org.hibernate=WARN log4j.logger.org.hibernate.stat=INFO -log4j.logger.org.hibernate.SQL=DEBUG +log4j.logger.org.hibernate.SQL=WARN +log4j.logger.org.hibernate.transaction=WARN #log4j.logger.org.hibernate.tool.hbm2ddl=TRACE #log4j.logger.org.hibernate.type=TRACE -- 2.39.2