Exemple #1
0
 SqlDataImpl(SqlResults results, SqlRow sqlRow, SqlColumn sqlColumn, ResultSet resultSet) {
   this.results = results;
   this.sqlRow = sqlRow;
   this.sqlColumn = sqlColumn;
   try {
     this.object =
         JdbcUtils.getResultSetValue(resultSet, sqlColumn.index() + 1, sqlColumn.header().type());
   } catch (SQLException e) {
     throw new RuntimeException(e.getMessage(), e);
   }
 }
Exemple #2
0
 public SqlColumnHeader header() {
   return sqlColumn.header();
 }
Exemple #3
0
 public int columnIndex() {
   return sqlColumn.index();
 }