I was wondering what the best approach is to maintaining a connection throughout a users session, on a per-user basis. This means multiple connections at any one time, so SingleConnectionDataSource presumably wont work, yet I don't want to create a new connection with every getConnection() call (too much overhead). One solution is to write my own session bean which maintains a connection for the user, however I was wondering if there was a better, more "spring-y" way to do it?
Announcement Announcement Module
No announcement yet.
A re-usable connection per user? Page Title Module
Move Remove Collapse