>> - A DataSourceConnection (DSC) was created to wrap both DataSource and >> Connection. > > Is it possible to supply my own implementation? This could be used to > implement sessions and transaction brackets.
Yes, you should be able to supply your own implementation - which will then be wrapped by jOOQ internally in a DataSourceConnection (DSC) > In other projects, I had a ConnectionProvider for this which either wrapped > a normal sql.Connection or a DataSource (where it would request and return > the connection) or something else. The best thing for this provider would be to implement DataSource and be supplied as such to a jOOQ Factory Cheers Lukas
