Package org.springframework.jdbc

Examples of org.springframework.jdbc.InvalidResultSetAccessException


  public boolean last() throws InvalidResultSetAccessException {
    try {
      return this.resultSet.last();
    }
    catch (SQLException se) {
      throw new InvalidResultSetAccessException(se);
    }
  }
View Full Code Here


  public boolean next() throws InvalidResultSetAccessException {
    try {
      return this.resultSet.next();
    }
    catch (SQLException se) {
      throw new InvalidResultSetAccessException(se);
    }
  }
View Full Code Here

  public boolean previous() throws InvalidResultSetAccessException {
    try {
      return this.resultSet.previous();
    }
    catch (SQLException se) {
      throw new InvalidResultSetAccessException(se);
    }
  }
View Full Code Here

  public boolean relative(int rows) throws InvalidResultSetAccessException {
    try {
      return this.resultSet.relative(rows);
    }
    catch (SQLException se) {
      throw new InvalidResultSetAccessException(se);
    }
  }
View Full Code Here

  public boolean wasNull() throws InvalidResultSetAccessException {
    try {
      return this.resultSet.wasNull();
    }
    catch (SQLException se) {
      throw new InvalidResultSetAccessException(se);
    }
  }
View Full Code Here

          logTranslation(task, sql, sqlEx, false);
          return new BadSqlGrammarException(task, sql, sqlEx);
        }
        else if (Arrays.binarySearch(this.sqlErrorCodes.getInvalidResultSetAccessCodes(), errorCode) >= 0) {
          logTranslation(task, sql, sqlEx, false);
          return new InvalidResultSetAccessException(task, sql, sqlEx);
        }
        else if (Arrays.binarySearch(this.sqlErrorCodes.getDataIntegrityViolationCodes(), errorCode) >= 0) {
          logTranslation(task, sql, sqlEx, false);
          return new DataIntegrityViolationException(buildMessage(task, sql, sqlEx), sqlEx);
        }
View Full Code Here

    this.resultSet = resultSet;
    try {
      this.rowSetMetaData = new ResultSetWrappingSqlRowSetMetaData(resultSet.getMetaData());
    }
    catch (SQLException se) {
      throw new InvalidResultSetAccessException(se);
    }
  }
View Full Code Here

  public int findColumn(String columnName) throws InvalidResultSetAccessException {
    try {
      return this.resultSet.findColumn(columnName);
    }
    catch (SQLException se) {
      throw new InvalidResultSetAccessException(se);
    }
  }
View Full Code Here

  public BigDecimal getBigDecimal(int columnIndex) throws InvalidResultSetAccessException {
    try {
      return this.resultSet.getBigDecimal(columnIndex);
    }
    catch (SQLException se) {
      throw new InvalidResultSetAccessException(se);
    }
  }
View Full Code Here

  public BigDecimal getBigDecimal(String columnName) throws InvalidResultSetAccessException {
    try {
      return this.resultSet.getBigDecimal(columnName);
    }
    catch (SQLException se) {
      throw new InvalidResultSetAccessException(se);
    }
  }
View Full Code Here

TOP

Related Classes of org.springframework.jdbc.InvalidResultSetAccessException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.