Auto-retry JdbcTransaction after some well-known errors