diff --git a/src/main/resources/spring/applicationContext-dao.xml b/src/main/resources/spring/applicationContext-dao.xml index 25f880342b9c3fed4a65b3d1135ad0a1459daeef..89e79eb6053a59be0347dde34ba79f6b0440efe4 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) -->