Dec 3rd, 2012, 07:27 AM
jdbcTemplate in thick/fat client
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,
Tags for this Thread