From d8b761570563d3ab783fcaf7f8f3135fbda3bd69 Mon Sep 17 00:00:00 2001
From: Costin Leau <cleau@vmware.com>
Date: Fri, 27 Nov 2009 16:48:35 +0000
Subject: [PATCH] SPR-6447 + add missing datasource import to hibernate config

---
 src/main/webapp/WEB-INF/applicationContext-hibernate.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/main/webapp/WEB-INF/applicationContext-hibernate.xml b/src/main/webapp/WEB-INF/applicationContext-hibernate.xml
index 8f414a7..4fd1992 100644
--- a/src/main/webapp/WEB-INF/applicationContext-hibernate.xml
+++ b/src/main/webapp/WEB-INF/applicationContext-hibernate.xml
@@ -12,6 +12,9 @@
 
 	<!-- ========================= RESOURCE DEFINITIONS ========================= -->
 
+    <!-- import the dataSource definition -->
+    <import resource="applicationContext-dataSource.xml"/>
+
 	<!-- Configurer that replaces ${...} placeholders with values from a properties file -->
 	<!-- (in this case, Hibernate-related settings for the sessionFactory definition below) -->
 	<context:property-placeholder location="classpath:jdbc.properties"/>
-- 
GitLab