packagesToScan doesn't need a list of values

(feedback from Oliver Gierke)
This commit is contained in:
Mic 2013-02-01 09:29:20 +08:00
parent e97c9a45d4
commit 2ebf7567b9

View file

@ -71,11 +71,7 @@
p:database="${jpa.database}" p:showSql="${jpa.showSql}"/> p:database="${jpa.database}" p:showSql="${jpa.showSql}"/>
</property> </property>
<property name="persistenceUnitName" value="petclinic" /> <property name="persistenceUnitName" value="petclinic" />
<property name="packagesToScan"> <property name="packagesToScan" value="org/springframework/samples/petclinic" />
<list>
<value>org/springframework/samples/petclinic</value>
</list>
</property>
</bean> </bean>
<!-- Transaction manager for a single JPA EntityManagerFactory (alternative to JTA) --> <!-- Transaction manager for a single JPA EntityManagerFactory (alternative to JTA) -->