View Full Version : where is HsqlJdbcClinic ?
snpe
Aug 13th, 2004, 04:46 PM
I checkout spring-richclient from CVS
I can't find class HsqlJdbcClinic.java (class exists in spring-petclinic.jar)
There isn't package org.springframework.samples.petclinic.jdbc
What is wrong ?
regards
irbouho
Aug 13th, 2004, 05:18 PM
snpe,
You can find spring-petclinic.jar in spring-richclient/lib/spring
You can also download it from CVS here (http://cvs.sourceforge.net/viewcvs.py/spring-rich-c/spring-richclient/lib/spring/spring-petclinic.jar).
HTH
snpe
Aug 13th, 2004, 05:23 PM
I checkout spring rcp from cvs (sourceforge) and I haven't this class source
I have this library, but I don't have source for this class (and package)
thanks
irbouho
Aug 13th, 2004, 05:27 PM
snpe,
You can find the source for this packages in Spring Framework mean CVS (http://cvs.sourceforge.net/viewcvs.py/springframework/spring/samples/petclinic/)
You can build the .jar file yourself using the included build.xml / build.bat
HTH
snpe
Aug 13th, 2004, 05:30 PM
You don't undesrtand me
I checkout all from cvs and build spring-richclient in eclipse
It work, but I haven't source for this package and class - it isn't in cvs
regards
irbouho
Aug 13th, 2004, 05:41 PM
here you are http://cvs.sourceforge.net/viewcvs.py/springframework/spring/samples/petclinic/src/org/springframework/samples/petclinic/jdbc/HsqlJdbcClinic.java?rev=1.1&view=markup
:)
snpe
Aug 13th, 2004, 05:44 PM
spring-petclinic.jar is from spring distribution, not spring richclient
Is it correct ?
Thanks
irbouho
Aug 13th, 2004, 05:48 PM
yes!!!
Keith and co. want to build this RCP sample using the same domain objects, DAOs, Services, Transaction strategies... as the Web version.
Ben Alex
Aug 13th, 2004, 05:57 PM
Spring-petclinic.jar is from the Spring Framework build.
Aside from the domain objects like Pet and Owner, Petclinic RCP's only other use of this JAR is for the Clinic implementation itself:
http://cvs.sourceforge.net/viewcvs.py/spring-rich-c/spring-richclient/samples/petclinic/src/org/springframework/richclient/samples/petclinic/domain/InMemoryClinic.java?rev=1.2&view=markup
Petclinic RCP provides an in-memory implementation of the Clinic using HSQL's in-memory database option. RCP includes an InMemoryClinic class that extends Spring Framework's HsqlClinic. This makes it easier to have a full implementation of Clinic, which is helpful when designing new views, security integration etc.
Hope this clears up the linkages.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.