Commit graph

97 commits

Author SHA1 Message Date
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
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
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
Mic
993257f5a8 We're now able to use Spring Data there
see: https://jira.springsource.org/browse/DATAJPA-292
2013-04-18 10:10:16 +08:00
Mic
f1603221a2 Added comment because https://jira.springsource.org/browse/DATAJPA-292 has been resolved 2013-03-18 14:14:24 +08:00
Mic
fa1e1a8f86 isEnabled -> enabled 2013-03-15 16:36:26 +08:00
Mic
8e59a812e3 Integer Instantiation 2013-03-15 16:11:38 +08:00
Mic
c0d183ce3d removed lots of unused dependencies 2013-03-15 10:34:09 +08:00
Mic
024811d252 simplifying access to Integer 2013-03-14 18:04:36 +08:00
Mic
c4dbb1f648 added comment 2013-03-11 11:24:18 +08:00
Mic
3fe122db45 moved caching to the Service layer 2013-03-11 11:04:51 +08:00
Mic
e0ba8bfa74 organized imports 2013-03-11 09:22:58 +08:00
Mic
842f9ac9ec added comments about OSIV 2013-03-11 09:22:01 +08:00
Julien Dubois
d28f4e5257 Adding a DISTINCT clause so we only have users once 2013-02-25 22:40:24 +01:00
Gordon Dickens
14f882221f file formatting and missing @Override on Java classes 2013-02-19 10:56:21 -05:00
Mic
cec8110236 moved Spring config files and changed AtomView example so it is based on Vets instead of Visits 2013-02-19 16:36:23 +08:00
Mic
54a0186dd4 added Javadoc and licence info for jdbc implementation 2013-02-14 23:00:10 +08:00
Mic
790ebb5da0 improved javadoc for jpa implementation 2013-02-14 22:53:50 +08:00
Mic
a81b3330e3 added Javadoc comments for Spring Data JPA 2013-02-14 22:48:07 +08:00