* Fixed wan connection profile issue reported by CarlosRuiz

This commit is contained in:
Heng Sin Low 2007-01-10 09:33:49 +00:00
parent 6685c9e75c
commit 991b705e78
1 changed files with 3 additions and 2 deletions

View File

@ -206,7 +206,8 @@ public class MTree extends MTree_Base
rs.close(); rs.close();
pstmt.close(); pstmt.close();
// //
m_nodeRowSet.close(); //closing the rowset will also close connection for oracle rowset implementation
//m_nodeRowSet.close();
m_nodeRowSet = null; m_nodeRowSet = null;
} }
catch (SQLException e) catch (SQLException e)
@ -399,7 +400,7 @@ public class MTree extends MTree_Base
sql = MRole.getDefault(getCtx(), false).addAccessSQL(sql, sql = MRole.getDefault(getCtx(), false).addAccessSQL(sql,
sourceTable, MRole.SQL_FULLYQUALIFIED, m_editable); sourceTable, MRole.SQL_FULLYQUALIFIED, m_editable);
log.fine(sql); log.fine(sql);
m_nodeRowSet = DB.getRowSet (sql, true); m_nodeRowSet = DB.getRowSet (sql);
} // getNodeDetails } // getNodeDetails
/** /**