db2的select语句在db2 client上执行正确,JDBC连接数据库时报错. sql语句是:select ...from QUALIFIER.tableName fetch first 21 rows only with UR 在db2 client上跑没有问题, 但是在jdbc时报sql command not propely ended. 去掉 fetch first 21 rows only with UR,报table or view does not exist. 查了一个上午…