当我在conn.prepareStatement()函数中放置ResultSet.HOLD_CURSORS_OVER_COMMIT时会出现异常......我不知道该怎么做.. ??有人可以帮我吗?? ??
这是我的查询
query = "insert into " + PunchoutConstants.PJ_PUNCHOUT_REGISTRY + "(PUNCHOUT_CXML_RAWFILE,"+ "DATE_TIME_ENTERED,pj_punchout_id)values(?,?,?)";
PreparedStatement preparedStmt = conn.prepareStatement(query, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY,ResultSet.HOLD_CURSORS_OVER_COMMIT);