Results 1 to 4 of 4

Thread: DataSourceTransactionManager example

  1. #1
    Join Date
    Apr 2005
    Posts
    6

    Default DataSourceTransactionManager example

    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

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    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

  3. #3
    Join Date
    Apr 2005
    Posts
    6

    Default

    Costin,

    Thanks for the reply... I'm not finding the Spring Petclinic anywhere... Was it renamed?

  4. #4
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •