Commit graph

30 commits

Author SHA1 Message Date
Mic
8f531f366f added custom tag 2013-02-06 21:31:07 +08:00
Mic
07e535a75e fixed issue in the 'createVisit' form 2013-02-06 17:41:38 +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
60cfb7fb37 fixed JDBC bug 2013-02-05 09:50:01 +08:00
Mic
ae9085de62 added CrashController to showcase behaviour when exception occurs 2013-02-05 09:49:33 +08:00
Mic
e97c9a45d4 removed Autowiring at the field level
(feedback from Oliver Gierke)
2013-02-01 09:28:58 +08:00
Mic
74eb3e72fe removing JdbcTemplate so we use NamedParameterJdbcTemplate solely when possible 2013-01-31 21:57:19 +08:00
Mic
f44e383462 fixed lazy loading issues
also renamed some local variables in Unit tests
2013-01-30 11:20:22 +08:00
Mic
d88b565d28 migrated all dates to joda time 2013-01-19 02:53:27 +08:00
Mic
c4b5a98ac8 navbar, reorganized JSP folders 2013-01-18 18:32:23 +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
16b1476c40 Simplified exception page handling
- so we don't use JSP scriptlets anymore
- Used input from http://www.thymeleaf.org/petclinic.html
- also some improvements to SimpleMappingExceptionResolver make it
easier to get the error message from the JSP
2013-01-16 12:46:23 +08:00
Mic
3d22e37944 improvements to Visit controller
- renamed
- migrated validation to bean validation
2013-01-16 11:07:39 +08:00
Mic
ece1a7a7ac fixing a RequestMapping issue
caused images not to be loaded
2013-01-16 11:02:37 +08:00
Mic
e9b6aff0d4 Merged Pet Controllers into a single one 2013-01-16 10:57:50 +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
df5c5ca59d gave more explicit names to JSPs 2013-01-15 10:57:36 +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
58d82e461a handled all exception messages inside Spring config 2013-01-10 16:12:50 +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
Keith Donald
bcda93f280 Slf4j update 2013-01-09 17:13:25 +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
521d01db95 SPR-6447
SPR-6448
+ commit the gross of the files
+ added maven pom
2013-01-09 17:13:17 +08:00