/** 释放数据库连接 */ public void close() { if (conn != null) { try { dbManager.freeConnection(conn); conn = null; } catch (SQLException ex) { Debug.getAppErrLogger().error("释放数据库连接错误!", ex); } } }