Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wasdzgr opened this issue Dec 17, 2020 · 1 comment
Open

Comments

@wasdzgr
Copy link

wasdzgr commented Dec 17, 2020

        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);
@wasdzgr
Copy link
Author

wasdzgr commented Dec 17, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant