java.sql.SQLException root cause.
This typically happens when an invalid ResultSet column index or name has been specified. Also thrown by disconnected SqlRowSets.
BadSqlGrammarException, org.springframework.jdbc.support.rowset.SqlRowSet
| Access | Constructor and Description |
|---|---|
| public | InvalidResultSetAccessException(String
name of current task task, String the offending SQL statement sql, SQLException the root cause ex)Constructor for InvalidResultSetAccessException. |
| public | InvalidResultSetAccessException(SQLException
the root cause ex)Constructor for InvalidResultSetAccessException. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public SQLException |
| sql | back to summary |
|---|---|
| private final String sql
| |
| InvalidResultSetAccessException | back to summary |
|---|---|
| public InvalidResultSetAccessException(String task, String sql, SQLException ex) Constructor for InvalidResultSetAccessException.
| |
| InvalidResultSetAccessException | back to summary |
|---|---|
| public InvalidResultSetAccessException(SQLException ex) Constructor for InvalidResultSetAccessException.
| |
| getSql | back to summary |
|---|---|
| public String getSql() Return the SQL that caused the problem. | |
| getSQLException | back to summary |
|---|---|
| public SQLException getSQLException() Return the wrapped SQLException. | |