Commit graph

42 commits

Author SHA1 Message Date
Mic
6a8edd99af removed unused AOP config 2013-02-15 09:54:15 +08:00
Mic
0c09ec3bd1 added @Cacheable support with ehcache 2013-02-14 11:12:36 +08:00
Mic
4e91b4468e removed TopLink-specific and Hibernate-specific properties 2013-02-13 09:29:18 +08:00
Mic
23314c5428 moved all model classes to a dedicated 'model' package 2013-02-13 08:06:37 +08:00
Mic
0a5ea0b5fb moved aspect to util package 2013-02-13 07:57:51 +08:00
Mic
ed3df00bd7 Pets were getting old
Changed the birth date for all the pets (so we do not have a 12 year
old hamster where their life expectancy is 2-3 years :)  )
2013-02-12 08:29:13 +08:00
Mic
572ef6e2c4 moved pointcut to @Repository instead of @Service
In that way we don't need a dedicated config file for the Service layer
2013-02-08 14:26:00 +08:00
Mic
5699bf83ee cleaned up AOP usage 2013-02-08 12:46:00 +08:00
Mic
5b8ef8ea10 replacing one Spring Data Repo with native JPA
see https://jira.springsource.org/browse/DATAJPA-292
2013-02-07 09:25:30 +08:00
Mic
57c9043121 fixed issues in the Pet creation form 2013-02-06 17:33:11 +08:00
Mic
6eae69719f improved pet creation form 2013-02-05 12:21:51 +08:00
Mic
2df7267a48 updated a broken link and renamed script files for mysql 2013-02-01 09:40:23 +08:00
Mic
2ebf7567b9 packagesToScan doesn't need a list of values
(feedback from Oliver Gierke)
2013-02-01 09:29:20 +08:00
Mic
8b6cfab27d removing datasource declaration so we only rely on an internal database connection pool 2013-01-30 09:05:17 +08:00
Mic
e93f0f60a6 removing xml OR mapping so we only use annotations 2013-01-30 09:04:48 +08:00
Mic
3482d549ea renamed profiles and removed unnecessary@DirtiesContext annotation so the Test suite now runs in 40% less time 2013-01-29 17:47:45 +08:00
Mic
feca50d272 added jQueryUI 2013-01-22 09:29:49 +01:00
Mic
d88b565d28 migrated all dates to joda time 2013-01-19 02:53:27 +08:00
Mic
f06cf8c3fa Improvements to layout 2013-01-18 17:17:40 +08:00
Mic
97aba3f4e6 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
2013-01-18 16:56:01 +08:00
Mic
c9c8c4e085 moved the ClinicRepository into some separate repos
There is still some polish up to be done.
2013-01-17 15:27:27 +08:00
Mic
0fe479390b improvements to Owner Controller
- migrated to bean validation annotations
- merged to one single controller
2013-01-16 10:30:20 +08:00
Mic
5432a1932c started adding support for Spring Data 2013-01-15 17:31:01 +08:00
Mic
09c92b3072 general cleanup
- removed unneeded Spring config files
- moved i18n files to a dedicated folder
2013-01-14 23:43:13 +08:00
Mic
5c25ef9cc1 removed former Hibernate xml configuration 2013-01-14 23:40:25 +08:00
Mic
0c2665f1b4 added bean profiles for jdbc/jpa 2013-01-14 23:36:06 +08:00
Mic
b459ca3377 added aspectj decaration. All JUnit tests are now successful 2013-01-14 23:23:07 +08:00
Mic
608c42f74b migrated from SimpleJdbcTemplate to JdbcTemplate 2013-01-14 22:13:04 +08:00
Mic
4e35adb6b0 migrated to hsql 2.2.8 and fixed a couple of JPA issues 2013-01-14 16:55:09 +08:00
Mic
9f8acc05ad migration to JPA annotations
- added JPA annotations to POJO classes
- merged JPA Repos with Hibernate repos so we only use JPA
- renamed .txt files to .sql
- moved Spring configuration files so it is easier to use them inside
JUnit tests
2013-01-14 16:12:05 +08:00
Mic
aeeeace8a2 renaming controllers so they all have 'Controller' suffix 2013-01-09 21:37:28 +08:00
Mic
87ccf9fea1 first step of migration to Spring 3.2 (still in process) 2013-01-09 17:24:48 +08:00
Chris Beams
7cbfaf1726 Fix Petclinic case-sensitivity problems against MySQL (SPR-7512)
With thanks to Rob Winch for patch submission.
2013-01-09 17:13:28 +08:00
Costin Leau
905d9824b0 + improved war structure 2013-01-09 17:13:24 +08:00
Costin Leau
6f056b5072 SPR-6447
+ removed unused script
2013-01-09 17:13:19 +08:00
Costin Leau
d6b57ac053 SPR-6447
+ improve mysql script to prevent data from being added if it's already present
2013-01-09 17:13:19 +08:00
Costin Leau
a8cc00689b SPR-6447
+ extracted datasource definition into a separate file to eliminate redundancy
+ introduce jdbc: namespace
2013-01-09 17:13:19 +08:00
Costin Leau
9617efef32 SPR-6447
+ improve DataSource setup
2013-01-09 17:13:18 +08:00
Costin Leau
19173a063e SPR-6447
+ improve DataSource setup
2013-01-09 17:13:18 +08:00
Costin Leau
50b87ef75f SPR-6447
+ moved db files around
+ moved JPA/AOP META-INF/ files into the webapp classpath
2013-01-09 17:13:17 +08:00
Costin Leau
c0b90bf9ef SPR-6447
+ move jdbc scripts from META-INF into /resources
2013-01-09 17:13:17 +08:00
Costin Leau
521d01db95 SPR-6447
SPR-6448
+ commit the gross of the files
+ added maven pom
2013-01-09 17:13:17 +08:00