From 2ebf7567b9240b31e18b8b1a13d73cf17422cd08 Mon Sep 17 00:00:00 2001
From: Mic <misvy@vmware.com>
Date: Fri, 1 Feb 2013 09:29:20 +0800
Subject: [PATCH] packagesToScan doesn't need a list of values

(feedback from Oliver Gierke)
---
 src/main/resources/spring/applicationContext-dao.xml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/main/resources/spring/applicationContext-dao.xml b/src/main/resources/spring/applicationContext-dao.xml
index 25f8803..89e79eb 100644
--- a/src/main/resources/spring/applicationContext-dao.xml
+++ b/src/main/resources/spring/applicationContext-dao.xml
@@ -71,11 +71,7 @@
 						p:database="${jpa.database}" p:showSql="${jpa.showSql}"/>			
 			</property>
 			<property name="persistenceUnitName" value="petclinic" />
-			<property name="packagesToScan">
-				<list>
-					<value>org/springframework/samples/petclinic</value>
-				</list>
-			</property>
+			<property name="packagesToScan" value="org/springframework/samples/petclinic" />
 		</bean>
 	
 		<!-- Transaction manager for a single JPA EntityManagerFactory (alternative to JTA) -->
-- 
GitLab