/** * Provide access to JDBCServices. * <p/> * NOTE : package-protected * * @return JDBCServices */ JdbcServices getJdbcServices() { return logicalConnection.getJdbcServices(); }
/** * Provide access to JDBCServices. * <p/> * NOTE : package-protected * * @return JDBCServices */ JdbcServices getJdbcServices() { return logicalConnection.getJdbcServices(); }
protected SqlExceptionHelper sqlExceptionHelper() { return transactionCoordinator.getJdbcCoordinator().getLogicalConnection().getJdbcServices().getSqlExceptionHelper(); }
protected SqlExceptionHelper sqlExceptionHelper() { return transactionCoordinator.getJdbcCoordinator().getLogicalConnection().getJdbcServices().getSqlExceptionHelper(); }
protected ConnectionProvider connectionProvider() { return transactionCoordinator.getJdbcCoordinator().getLogicalConnection().getJdbcServices().getConnectionProvider(); }
protected ConnectionProvider connectionProvider() { return transactionCoordinator.getJdbcCoordinator().getLogicalConnection().getJdbcServices().getConnectionProvider(); }
Throwable realException = e.getTargetException(); if ( SQLException.class.isInstance( realException ) ) { throw logicalConnection.getJdbcServices().getSqlExceptionHelper() .convert( ( SQLException ) realException, realException.getMessage() );
Throwable realException = e.getTargetException(); if ( SQLException.class.isInstance( realException ) ) { throw logicalConnection.getJdbcServices().getSqlExceptionHelper() .convert( ( SQLException ) realException, realException.getMessage() );
public PreparedStatement prepareStatement() { try { jdbcCoordinator.getLogicalConnection().getJdbcServices().getSqlStatementLogger().logStatement(sql); final PreparedStatement preparedStatement; try { jdbcCoordinator.getTransactionCoordinator().getTransactionContext().startPrepareStatement(); preparedStatement = doPrepare(); setStatementTimeout(preparedStatement); } finally { jdbcCoordinator.getTransactionCoordinator().getTransactionContext().endPrepareStatement(); } postProcess(preparedStatement); return preparedStatement; } catch (SQLException e) { throw sqlExceptionHelper().convert(e, "could not prepare statement", sql); } }
public PreparedStatement prepareStatement() { try { jdbcCoordinator.getLogicalConnection().getJdbcServices().getSqlStatementLogger().logStatement(sql); final PreparedStatement preparedStatement; try { jdbcCoordinator.getTransactionCoordinator().getTransactionContext().startPrepareStatement(); preparedStatement = doPrepare(); setStatementTimeout(preparedStatement); } finally { jdbcCoordinator.getTransactionCoordinator().getTransactionContext().endPrepareStatement(); } postProcess(preparedStatement); return preparedStatement; } catch (SQLException e) { throw sqlExceptionHelper().convert(e, "could not prepare statement", sql); } }
public PreparedStatement prepareStatement() { try { jdbcCoordinator.getLogicalConnection().getJdbcServices().getSqlStatementLogger().logStatement(sql); final PreparedStatement preparedStatement; try { jdbcCoordinator.getTransactionCoordinator().getTransactionContext().startPrepareStatement(); preparedStatement = doPrepare(); setStatementTimeout(preparedStatement); } finally { jdbcCoordinator.getTransactionCoordinator().getTransactionContext().endPrepareStatement(); } postProcess(preparedStatement); return preparedStatement; } catch (SQLException e) { throw sqlExceptionHelper().convert(e, "could not prepare statement", sql); } }