petclinic-uncached

Changes

src/main/resources/petclinic.hbm.xml 74(+0 -74)

Details

diff --git a/src/main/resources/log4j.xml b/src/main/resources/log4j.xml
index 029b681..b7d82f5 100755
--- a/src/main/resources/log4j.xml
+++ b/src/main/resources/log4j.xml
@@ -12,15 +12,15 @@
 	</appender>
 
 	<logger name="org.springframework.samples.petclinic.aspects">
-		<level value="DEBUG" />
+		<level value="info" />
 	</logger>
 	
 	<logger name="org.springframework.web">
-		<level value="DEBUG" />
+		<level value="info" />
 	</logger>
 	
 	<logger name="org.springframework.jdbc">
-		<level value="DEBUG" />
+		<level value="info" />
 	</logger>
 	
 
diff --git a/src/main/resources/spring/applicationContext-dao.xml b/src/main/resources/spring/applicationContext-dao.xml
index bcf2df6..f3316a9 100644
--- a/src/main/resources/spring/applicationContext-dao.xml
+++ b/src/main/resources/spring/applicationContext-dao.xml
@@ -53,6 +53,13 @@
 	<!-- Call monitoring aspect that monitors call count and call invocation time -->
 	<bean id="callMonitor" class="org.springframework.samples.petclinic.aspects.CallMonitoringAspect"/>	
 
+	<!--
+		Exporter that exposes the Clinic DAO and the CallMonitoringAspect via JMX,
+		based on the @ManagedResource, @ManagedAttribute, and @ManagedOperation annotations.
+	--> 
+		<context:mbean-export/> 
+	
+
 
 	<beans profile="jpa">
 		<!-- JPA EntityManagerFactory -->
@@ -94,11 +101,6 @@
 			<bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"
 				p:dataSource-ref="dataSource"/>
 		
-			<!--
-			Exporter that exposes the Clinic DAO and the CallMonitoringAspect via JMX,
-			based on the @ManagedResource, @ManagedAttribute, and @ManagedOperation annotations.
-		--> 
-		<context:mbean-export/> 
 	
 		<!-- PetClinic's central data access object using Spring's SimpleJdbcTemplate -->
 		<bean id="clinic" class="org.springframework.samples.petclinic.jdbc.JdbcClinic"/>