Commit graph

1023 commits

Author SHA1 Message Date
michaelisvy
8d20340518 removed unused attribute #64 2015-06-09 17:14:53 +08:00
michaelisvy
8965499757 Merge pull request #82 from arey/#64-optim1
#64 Optimize N+1 select by using the OneToManyResultSetExtractor
2015-06-09 15:13:32 +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
08d55c975f Merge pull request #81 from srenkens/patch-1
Update readme.md
2015-06-06 07:36:31 +08:00
srenkens
ae15df1b61 Update readme.md
Updates the jsp url for the sample usage in JSP
2015-06-05 12:37:46 +02:00
michaelisvy
cb6bd875de Putting encoding filter first per #80 2015-05-29 15:20:10 +08:00
michaelisvy
b265fc802d Adding instruction to fix build on Maven 3.2.x 2015-05-29 15:16:17 +08:00
Antoine Rey
ad423f5750 Change javaconfig branch URL to spring-projects 2015-05-29 08:07:39 +02:00
michaelisvy
e8ba735e05 updates on links
- updated some links
- removed some broken links
2015-05-23 09:41:21 +08:00
michaelisvy
546ba6b5e9 minor presentation fix 2015-05-23 09:34:03 +08:00
michaelisvy
19ef3be859 adding Java Config to links on github homepage 2015-05-23 09:32:04 +08: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
83301cb602 Centering content 2015-05-20 23:21:37 +08:00
michaelisvy
54b7d87ff2 Fixing log back warning per #59 2015-05-20 23:18:19 +08:00
michaelisvy
c00d1abf23 Merge pull request #72 from ka2m/master
Update JDBC file naming in MySQL setup instruction
2015-05-20 23:14:45 +08:00
michaelisvy
c553d39f8d Merge pull request #67 from mklose/patch-1
fix typo
2015-05-20 23:13:04 +08:00
michaelisvy
3945cbaeba Fixing #54
Petclinic doesn't work with Java 8
2015-05-20 21:43:19 +08:00
michaelisvy
271225c29a libs upgrade 2015-05-13 01:07:57 +09:00
michaelisvy
c8e360298b fixed bug: vets.html did not display properly 2015-05-13 01:07:46 +09:00
michaelisvy
91ed548481 removing xdd version number
so we always use the latest in the classpath
2015-05-12 19:55:15 +08:00
michaelisvy
4c859ed512 minor update on comment 2015-05-12 19:52:00 +08:00
michaelisvy
a59505897d removed unused dependency to spring-jms 2015-05-12 19:11:11 +08: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
c2c404bff5 JSon support
- added json-path to pom.xml
- added a simple test for Veterinarians
2015-05-12 18:55:24 +08:00
michaelisvy
ecd9ccb227 fixed POM configuration issue for Spring Data 2015-05-11 09:44:33 +08:00
michaelisvy
f958964c3c moving to Java 1.8 by default 2015-05-11 08:39:59 +08:00
michaelisvy
9914056a81 removing test that causes lots if issues
Happens since introduction of new mvc namespace tag for
content-negotiation
2015-05-10 06:45:39 +08:00
michaelisvy
f760aaf9d5 removing unneeded dependency-management block 2015-05-10 06:44:17 +08:00
michaelisvy
b20ba1aeef Merge branch 'Cobertura' 2015-05-10 06:35:43 +08:00
michaelisvy
694390d0c2 migrated assertion to assertJ 2015-05-10 06:33:10 +08:00
Vlad Selpukhin
099b848b62 Update JDBC file naming in MySQL steup instruction 2015-04-23 15:43:48 +03:00
michaelisvy
38a5b28e29 Improving/fixing comments 2015-04-14 09:27:41 +08:00
michaelisvy
aeec7104ba Adding Maven config for Cobertura 2015-04-14 09:27:25 +08:00
mklose
3f2d3ba72a fix typo 2015-04-01 16:39:51 +02:00
michaelisvy
74d61b38e0 update libraries 2015-03-26 17:04:22 +08:00
michaelisvy
cc4ae966c6 removed deprecated Mapper in Jdbc 2015-01-21 18:22:46 +08:00
michaelisvy
d8a2b5c737 cleanup on tests 2015-01-20 22:25:24 +08:00
michaelisvy
1dfc3b7a3a Migrated test assertions to AssertJ 2015-01-20 22:02:34 +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
7080682d3e workaround because there seems to be a conflict
There seems to be a conflict between the following:

1) New MVC namespace syntax:
<mvc:content-negotiation use-not-acceptable="true">
	    	<mvc:default-views>
	      		<bean class="org.springframework.web.servlet.view.JstlView">
	      			<property name="url" value="" />
	      		</bean>
	    	</mvc:default-views>
	  	</mvc:content-negotiation>

2) Inside my Unit test:
ResultActions actions =
this.mockMvc.perform(get("/vets.xml").accept(MediaType.TEXT_XML));
        actions.andDo(print()); // action is logged into the console

        actions.andExpect(status().isOk());
2014-12-05 13:41:55 +08:00
michaelisvy
ecefae2073 Upgraded to latest Spring Data and AspectJ 2014-12-05 13:40:07 +08:00
michaelisvy
d7b100f90d Removed 'Help' from menu
We were planning to create a ‘help’ but it never happened
2014-11-28 13:54:31 +09:00
michaelisvy
49c39b65dc renamed headTag.jsp -> staticFiles.jsp 2014-11-28 13:52:09 +09:00
michaelisvy
85c8237fb5 added comment on <mvc:default-servlet-handler /> 2014-11-28 13:40:46 +09:00
michaelisvy
6e079b23bb Error control on description was missing
Took that opportunity to use custom tag (14 lines versus 2 lines)
2014-11-28 13:25:17 +09: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