added a Spring Data implementation

- there are now 3 data access implementations (jdbc, jpa and
spring-data-jpa)
- added corresponding bean profiles
- JUnit tests are now successful
This commit is contained in:
Mic 2013-01-18 16:56:01 +08:00
parent c9c8c4e085
commit 97aba3f4e6
50 changed files with 368 additions and 426 deletions

View file

@ -11,10 +11,6 @@
</layout>
</appender>
<logger name="org.springframework.samples.petclinic.aspects">
<level value="info" />
</logger>
<logger name="org.springframework.web">
<level value="info" />
</logger>
@ -23,8 +19,6 @@
<level value="info" />
</logger>
<!-- Root Logger -->
<root>
<priority value="info" /><!--

View file

@ -120,7 +120,7 @@
</beans>
<beans profile="spring-data-jpa">
<jpa:repositories base-package="org.springframework.samples.petclinic.repository.jpa"/>
<jpa:repositories base-package="org.springframework.samples.petclinic.repository.springdatajpa"/>
</beans>
</beans>