-
Dec 3rd, 2012, 07:27 AM
#1
jdbcTemplate in thick/fat client
Hi Spring-Community,
after reviewing the docs and this forum, i still did not found a viable solution. Any help appreciated, actually i am not sure if i got things right.
I am using jdbcTemplate to issue some SQL Select/Insert/Update queries. Additionally, i have a kind of user-sessions in my java stand-alone client (imagine multiple windows / tabs with their own transactions running). So every window should use its own connection to the database (since the startet transaction is not completed, until the window is closed). However, my application is not multi threaded, what prevents me from using DataSourcTransactionManager.
What is a viable solutions to let jdbcTemplates use the correct jdbc connection (bound somehow to the application windows ?).
Best from Austria,
Daniel
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules