Commit graph

113 commits

Author SHA1 Message Date
Tomas Repel
e00dfb3fe0 Using jodatime LocalDate instead of DateTime for visits 2015-11-02 10:51:04 +01:00
Antoine Rey
92de6557e1 Fix #111 For pet's birthday we are now using jodatime LocalDate instead of DateTime 2015-10-28 08:57:42 +01:00
Antoine Rey
4aa89ae4e2 Fix #110 owner and pet validators failed 2015-10-28 08:30:44 +01:00
Antoine Rey
dd552f4970 Fix #108 owner update 2015-10-26 18:35:40 +01:00
Antoine Rey
3bcf84543e #77 move Session scope attributes to the request scope instead 2015-10-23 08:42:27 +02:00
Tomas Repel
2270e2466b Removal of redundant comments 2015-10-16 15:04:17 +02:00
Antoine Rey
09ed33a5fc #96 Reformat code with EditorConfig 2015-10-16 09:33:28 +02:00
Antoine Rey
566fdac3f9 Merge pull request #99 from trepel/removalofputmethod
Removed HTTP PUT method - it is not supported in JSP 2.3
2015-10-14 08:30:22 +02:00
michaelisvy
77bd960b69 Merge pull request #98 from freemansoft/master
Add comments to describe when AOP invoked
2015-10-14 05:17:54 +08:00
Antoine Rey
4bb829cbd1 Fix #101 display the pet type when using the JDBC profile 2015-10-13 18:41:18 +02:00
Tomas Repel
f7498c79df Removed HTTP PUT method - it is not supported in JSP 2.3 2015-10-02 11:33:57 +02:00
Joe Freeman
5a6c108efb Added comments when CallMonitoringAspect called
CallMonitoringAspect is not invoked when spring-data-jpa is used.  Spent
4 hours trying to understand why jmx bean wasn't showing message counts.
Use JPA or JDBC if you want call counts exposed via JMX / AOP
2015-09-30 21:20:34 -04:00
Antoine Rey
06be7eb5be #92 Use column alias 2015-08-20 08:19:57 +02:00
Antoine Rey
91d19d17b8 #92 Fix column 'visits.id' not found on MySql 2015-08-19 18:55:52 +02:00
Antoine Rey
0fdd1504b4 Removing deprecated javadoc 2015-06-29 09:03:58 +02:00
Antoine Rey
8b625617cb #87 Petclinic should be compatible with Java 7 for the time being 2015-06-29 08:50:04 +02:00
Antoine Rey
80ff54ac03 Fix #89 Web layer: use @Valid whenever possible 2015-06-29 08:37:29 +02:00
Antoine Rey
71f2424542 Remove explicit unboxing 2015-06-24 08:12:43 +02:00
Antoine Rey
6f6fa64dd7 Remove unused VisitRepository from constructor 2015-06-24 08:11:09 +02:00
Antoine Rey
735fb1149b Remove explicit unboxing 2015-06-17 21:07:10 +02:00
michaelisvy
dc0fb9abd8 removing unused method #85 2015-06-17 13:10:00 -05:00
Antoine Rey
5570366cfd Use a simple RowMapper instead of a BeanPropertyRowMapper 2015-06-17 08:30:26 +02:00
michaelisvy
8d20340518 removed unused attribute #64 2015-06-09 17:14:53 +08:00
Antoine Rey
fb64465802 Add some javadoc 2015-06-09 08:40:49 +02:00
Antoine Rey
818529b5b1 #64 Remove N+1 select by using the OneToManyResultSetExtractor of Spring Data Core JDBC Extensions 2015-06-09 08:37:20 +02:00
michaelisvy
72dc0c882f Merge pull request #48 from 7footmoustache/patch-1
Fixed some typos in comments
2015-05-20 23:28:00 +08:00
michaelisvy
c8e360298b fixed bug: vets.html did not display properly 2015-05-13 01:07:46 +09:00
michaelisvy
80c1d243a1 Removed RSS/rome and added JSon
RSS is becoming outdated, JSon is a better example
2015-05-12 19:07:35 +08:00
michaelisvy
38a5b28e29 Improving/fixing comments 2015-04-14 09:27:41 +08:00
michaelisvy
cc4ae966c6 removed deprecated Mapper in Jdbc 2015-01-21 18:22:46 +08:00
michaelisvy
35a179f88b latest versions and imports cleanup 2015-01-20 21:21:27 +08:00
michaelisvy
3e4512781e Sonar review: made code more readable 2015-01-16 09:25:36 +08:00
michaelisvy
1c9b401248 cleaned up if statement in controller 2015-01-16 09:22:40 +08:00
michaelisvy
5c9ab6bd06 test methods:used should/shouldNot 2015-01-16 09:08:22 +08:00
michaelisvy
f0bf692767 Moving "visit" object to request scope
Previously was in session scope (doesn’t scale as well)
2014-11-28 13:19:25 +09:00
michaelisvy
475f5f5349 migrated to Spring 4.1.1.RELEASE
Also had to make changes because Spring now uses com.rometools for RSS
feeds
See here for more details: https://jira.spring.io/browse/SPR-11893
2014-10-18 23:36:15 +08:00
michaelisvy
74f683aaa9 Fixed typo 2014-10-18 22:13:01 +08:00
Craig Dennis
de73bdce6b Fixed some typos in comments 2014-07-07 21:19:40 -07:00
Mic
622291aba7 Merge branch 'master' of https://github.com/SpringSource/spring-petclinic 2014-04-12 11:27:53 +08:00
Antoine Rey
67ae72f324 Remove public to methods from the ClinicService
Any method you define in an interface is by definition public
2014-03-23 17:43:58 +01:00
Mic
35a94eaa5d migrating to Spring 4.0.2 2014-03-03 21:24:29 +08:00
Mic
34d8ca46ac chaining validation so we can see multiple error messages when there are multiple validation errors 2013-11-06 09:18:33 +08:00
Mic
4c01d60b36 removing Serializable because it creates a lot of warnings
App should be as simple as possible for beginners
2013-07-25 16:35:37 +02:00
boly38
e50583f58e Update BaseEntity.java
This fix the following error :

   "setAttribute: Non-serializable attribute owner"

In the following context :

  - hsql database configuration (updating data-access.properties only)

  - mvn clean install bees:run (cloudbees local run)
2013-07-12 10:22:38 +02:00
TejasM
f0b00da185 Select Tag to validate pet type 2013-05-27 14:28:24 -04:00
Mic
bca9c48e92 unused imports 2013-05-25 06:24:19 +08:00
Mic
2b0d07bbba moved from Model to Map so we do not use a Spring-specific class 2013-05-25 06:20:44 +08:00
Mic
840c0a417d fixing JPA query for Vets 2013-05-09 01:26:48 +08:00
Mic
5bf31dbe5a fixed JPA issue when updating existing owners/pets 2013-05-09 01:09:21 +08:00
Mic
80159fa3d7 fixed bug in JPA implementation: "save" methods were implemented using "merge" instead of "persist" 2013-05-07 10:54:35 +08:00