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
0e60b03708
fixed naming issue in vet list
2013-02-07 10:31:18 +08:00
Mic
47ddd6f934
Fixed issue with Atom export
2013-02-07 10:08:53 +08:00
Mic
97e1890867
web config enhancements
...
- web.xml is now simpler
- mvc config file has been split into 2 files
2013-02-07 10:01:53 +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
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
ab5a3e29cb
improve look and feel of the menu bar
...
- titles are now aligned
- text color now matches icons color
2013-02-05 09:58:42 +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
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
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
56c7671939
webapp now using JPA by default
2013-01-30 11:19:48 +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
87e08f7b99
misc updates to tutorial page
2013-01-29 13:08:48 +08:00
Mic
4cd69795d2
removed unneeded declarations inside web.xml
2013-01-28 17:50:47 +04:00
Mic
0c2408390e
removed appserver-specific files
2013-01-28 17:01:30 +04:00
Mic
feca50d272
added jQueryUI
2013-01-22 09:29:49 +01:00
Mic
95cb32d86d
used tag c:out for EL to prevent HTML injection
2013-01-19 03:02:12 +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
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
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
ffa0a6a1cf
improved alignment in forms
2013-01-15 10:38:24 +08:00
Mic
6f7b42206e
added .html extension for all JSP/html content
2013-01-15 09:42:45 +08:00
Mic
05c1110dce
fixed content negotiation configuration
2013-01-15 09:29:01 +08:00
Mic
bfa4f85a83
removed source folder (not used anymore)
2013-01-14 23:44:06 +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
099847cf49
Spring MVC config and layout in 'vets' section
...
- commented out all Spring MVC config related to content negociation so
the app works well in HTML for now
- Integrated Bootsrap look&Feel in the 'vets' section
2013-01-14 11:32:32 +08:00
Mic
9a77b56427
cleaned up CSS and migrated to Bootstrap
2013-01-14 11:02:08 +08:00
Mic
5139c8d3bc
added header to all JSPs
2013-01-14 00:08:37 +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
c690c9d05c
removed static inclusion of jsp
2013-01-09 21:23:44 +08:00
Mic
87ccf9fea1
first step of migration to Spring 3.2 (still in process)
2013-01-09 17:24:48 +08:00
Rossen Stoyanchev
52d4b20d08
Apply patch from SPR-7894
2013-01-09 17:13:28 +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
0b9d98ba1c
disable welcome files (for Servlet 3 compatibility)
2013-01-09 17:13:28 +08:00
Costin Leau
a7ae7df3a8
+ upgrade to AJ 1.6.8
...
+ add dedicated section for Tomcat 5.5 and Tomcat 6 LTW setup (so it's clearer)
2013-01-09 17:13:27 +08:00
Costin Leau
1f59a262c3
+ add comment about Tomcat 6
2013-01-09 17:13:26 +08:00
Keith Donald
bcda93f280
Slf4j update
2013-01-09 17:13:25 +08:00
Costin Leau
905d9824b0
+ improved war structure
2013-01-09 17:13:24 +08:00
Keith Donald
31733db715
fixed test suite failing
2013-01-09 17:13:23 +08:00
Keith Donald
1b48694fd9
removed test suite class
2013-01-09 17:13:23 +08:00
Keith Donald
ef838ad656
Switched to embedded db
2013-01-09 17:13:23 +08:00
Keith Donald
3dc88e069a
polish
2013-01-09 17:13:23 +08:00
Thomas Risberg
66dff752a4
added some extra space to avoid sponsored by SpringSource message being covered by the picture of the pets
2013-01-09 17:13:21 +08:00
Costin Leau
fa6fd105db
SAMPLESPET-3
...
+ move spring application context files under a dedicated folder (to prevent JBoss XML parser from choking)
http://forum.springsource.org/showthread.php?t=68949
2013-01-09 17:13:21 +08:00
Costin Leau
dd521eb88a
SAMPLESPET-3
...
+ renamed META-INF/persistence.xml to META-INF/jpa-persistence.xml since JBoss will scan it automatically
and complain about non-jta-resources declared.
2013-01-09 17:13:20 +08:00
Costin Leau
fe63e9c87f
+ add default servlet definition (for containers that do not declare it - such as GlassFish)
...
+ increase Spring version to RC3 (it works with trunk just fine)
2013-01-09 17:13:20 +08:00
Costin Leau
d8b7615705
SPR-6447
...
+ add missing datasource import to hibernate config
2013-01-09 17:13:20 +08:00
Costin Leau
93a378adde
SPR-6447
...
+ fixed tab/spaces consistency
2013-01-09 17:13:20 +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
c9c939de2a
SPR-6447
...
+ add more clarifications
2013-01-09 17:13:18 +08:00
Costin Leau
d07705843c
SPR-6447
...
+ moved JPA/AOP META-INF/ files into the webapp classpath
2013-01-09 17:13:18 +08:00
Costin Leau
8291c80122
SPR-6447
...
+ added on the fly db configuration to all contexts
+ removed schema numbers to always pick the latest version
2013-01-09 17:13:17 +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