jdbcTxManager.trace(String.format( "Ignoring method %s because it is annotated with Transactional", invocation.getMethod().toGenericString())); jdbcTxManager.trace("Using existing connection for method " + invocation.getMethod().getName()); return invocation.proceed(); jdbcTxManager.trace("Fetched connection from datasource");
jdbcTxManager.trace(String.format( "Ignoring method %s because it is annotated with Transactional", invocation.getMethod().toGenericString())); jdbcTxManager.trace("Using existing connection for method " + invocation.getMethod().getName()); return invocation.proceed(); jdbcTxManager.trace("Fetched connection from datasource");
jdbcTxManager.trace(String.format("Transaction already exists so not starting a new one when calling method: %s", invocation.getMethod().getName())); return invocation.proceed(); jdbcTxManager.trace("Started new transaction due to annotation on method: " + invocation.getMethod().getName()); } catch (Throwable thr) { jdbcTxManager.trace("Rolling back transaction due to exception: " + thr.getMessage()); jdbcTxManager.rollback(); jdbcTxManager.trace("Rolling back transaction ok");
jdbcTxManager.trace(String.format("Transaction already exists so not starting a new one when calling method: %s", invocation.getMethod().getName())); return invocation.proceed(); jdbcTxManager.trace("Started new transaction due to annotation on method: " + invocation.getMethod().getName()); } catch (Throwable thr) { jdbcTxManager.trace("Rolling back transaction due to exception: " + thr.getMessage()); jdbcTxManager.rollback(); jdbcTxManager.trace("Rolling back transaction ok");