I using Spring to do straight JDBC and I'm looking for an example of how to use DataSourceTransactionManager. Confused about doBegin() DefaultTransactionStatus etc...
Thank you
I using Spring to do straight JDBC and I'm looking for an example of how to use DataSourceTransactionManager. Confused about doBegin() DefaultTransactionStatus etc...
Thank you
Take a look at the sample application supplied with the spring distribution (at least petclinic). It contains among other persistence frameworks, a jdbc implementation.
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
Please use [ c o d e ] [ / c o d e ] tags
Costin,
Thanks for the reply... I'm not finding the Spring Petclinic anywhere... Was it renamed?
I have used online spring-with-dependencies but I think it's also inside the no-dep jar. Inside the jar you'll find the 'samples' dir and inside it the examples (including petclinic).
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
Please use [ c o d e ] [ / c o d e ] tags