sql2o is a small library, which makes it easy to convert the result of your sql-statements into objects. No resultset hacking required. Kind of like an orm, but without the sql-generation capabilities. Supports named parameters.
Not quite clear how does the sql2o actualy gets the jdbc connection that is binded to the active transaction?
As far as I know, in order to get a jdbc connection binded to the active spring transaction, DataSourceUtils.getConnection()
shoud be used ( instead of directly from data sourcre) or data source wraped to TransactionAwareDataSourceProxy
https://github.com/aaberg/sql2o/wiki/Integration-with-Spring-Framework
Not quite clear how does the sql2o actualy gets the jdbc connection that is binded to the active transaction?
As far as I know, in order to get a jdbc connection binded to the active spring transaction, DataSourceUtils.getConnection() shoud be used ( instead of directly from data sourcre) or data source wraped to TransactionAwareDataSourceProxy
Thx!