我的情况是数据库被锁定在语句中:
pst = conn.prepareStatement(cIQuery);
where pstis PreparedStatementobject and connis the Connectionobject andcIQuery是要执行的查询。但是,我在使用后关闭了每个类中的所有Connection,ResultSet和PreparedStatement对象。我该如何克服这个问题?
我的情况是数据库被锁定在语句中:
pst = conn.prepareStatement(cIQuery);
where pstis PreparedStatementobject and connis the Connectionobject andcIQuery是要执行的查询。但是,我在使用后关闭了每个类中的所有Connection,ResultSet和PreparedStatement对象。我该如何克服这个问题?