yugong join表报错表不存在,但是是存在的,sql也可以执行

izkcnapc  于 2022-10-24  发布在  Go
关注(0)|答案(1)|浏览(191)
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);
2izufjch

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: 表或视图不存在

相关问题