setTransactionTimeout will be called and getConnection when you have beg...

...in the transaction not before and the dummy test isn't really valuable that I can see (and won't work with the begin change I made ;) )