String bb_value = (String) jdbcTemplate.query("select GUID from ZSSF0002T where GUID='99999'", new ResultSetExtractor() {
public Object extractData(ResultSet rs) throws SQLException, DataAccessException {
if (rs.next()) {
return rs.getString("GUID");
}
return null;
}
});
ColumnMeta bbMeta = new ColumnMeta("BB", Types.VARCHAR);
ColumnValue bbColumn = new ColumnValue(bbMeta, bb_value);
record.addColumn(bbColumn);
1条答案
按热度按时间2izufjch1#
错误信息
Caused by: Error : 942, Position : 17, Sql = select GUID from ZSSF0002T where GUID='99999', OriginalSql = select GUID from ZSSF0002T where GUID='99999', Error Msg = ORA-00942: 表或视图不存在