异常如下
PreparedStatementCallback; bad SQL grammar
[insert into special_require_hs t
(t.lg_mcsr_id,t.lg_updated,t.lg_updated_user,t.lg_type,t.mcsr_id,t.vid,t.updated,
t.updated_user,t.customer,t.warehouse,t.partno,t.special_require,t.type,t.remark,
t.flag)
values
(posse.cre_duct_special_require_hs_seq,sysdate,?,?,?,?,?,?,?,?,?,?,?,?,?)];
nested exception is java.sql.SQLException: ORA-00972: 标识符过长
后台代码
public void addMSpecialRequireHs(SpecialRequire item) {
String sql = "insert into special_require_hs t "
+ "(t.lg_mcsr_id,t.lg_updated,t.lg_updated_user,t.lg_type,"
+ "t.mcsr_id,t.vid,t.updated,t.updated_user,t.customer,t.warehouse,t.partno,t.special_require,t.type,t.remark,t.flag) "
+ "values(posse.cre_duct_special_require_hs_seq,sysdate,?,?,?,?,?,?,?,?,?,?,?,?,?)";
commonManager.save(new Sql("dataSourceMeass", sql, new String[] {"lgUpdatedUser","lgType","mcsrId","vid","updated","updatedUser","customer","warehouse","partno","specialRequire","type","remark","flag"}), item);