Announcement Announcement Module
Collapse
No announcement yet.
using JdbcTemplate with Connection instead of Datasource Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • using JdbcTemplate with Connection instead of Datasource

    Need to use JdbcDaoSupport with legacy app that's using connections instead of datasources. What's the best approach for this?

  • #2
    i vaguely recall using a delegatingdatasource please look at the docs for this - it might give you a way forward. unfortunately i don't have the code to share right now

    Comment


    • #3
      Thanks, exploring that package, I came across the SingleConnectionDataSource, which seems like a DataSource wrapper around a connection - exactly what I need for the near-term.

      Thanks for your help.

      Comment

      Working...
      X