/** * Close the connection to the data source. Only close the connections * for a single document. * * @throws SQLException */ public void close(ExpressionContext exprContext, Object doc) throws SQLException { if (DEBUG) System.out.println("Entering XConnection.close(" + doc + ")"); SQLDocument sqlDoc = locateSQLDocument(exprContext, doc); if (sqlDoc != null) { // If we are using the Default Connection Pool, then // force the connection pool to flush unused connections. sqlDoc.close(m_IsDefaultPool); m_OpenSQLDocuments.remove(sqlDoc); } }
doc.close(m_IsDefaultPool); doc = null;
d.close(m_IsDefaultPool);
doc.close(m_IsDefaultPool); doc = null;
/** * Close the connection to the data source. Only close the connections * for a single document. * * @throws SQLException */ public void close(ExpressionContext exprContext, Object doc) throws SQLException { if (DEBUG) System.out.println("Entering XConnection.close(" + doc + ")"); SQLDocument sqlDoc = locateSQLDocument(exprContext, doc); if (sqlDoc != null) { // If we are using the Default Connection Pool, then // force the connection pool to flush unused connections. sqlDoc.close(m_IsDefaultPool); m_OpenSQLDocuments.remove(sqlDoc); } }
/** * Close the connection to the data source. Only close the connections * for a single document. * * @throws SQLException */ public void close(ExpressionContext exprContext, Object doc) throws SQLException { if (DEBUG) System.out.println("Entering XConnection.close(" + doc + ")"); SQLDocument sqlDoc = locateSQLDocument(exprContext, doc); if (sqlDoc != null) { // If we are using the Default Connection Pool, then // force the connection pool to flush unused connections. sqlDoc.close(m_IsDefaultPool); m_OpenSQLDocuments.remove(sqlDoc); } }
/** * Close the connection to the data source. Only close the connections * for a single document. * * @throws SQLException */ public void close(ExpressionContext exprContext, Object doc) throws SQLException { if (DEBUG) System.out.println("Entering XConnection.close(" + doc + ")"); SQLDocument sqlDoc = locateSQLDocument(exprContext, doc); if (sqlDoc != null) { // If we are using the Default Connection Pool, then // force the connection pool to flush unused connections. sqlDoc.close(m_IsDefaultPool); m_OpenSQLDocuments.remove(sqlDoc); } }
d.close(m_IsDefaultPool);
d.close(m_IsDefaultPool);
doc.close(m_IsDefaultPool); doc = null;
doc.close(m_IsDefaultPool); doc = null;
doc.close(m_IsDefaultPool); doc = null;
d.close(m_IsDefaultPool);
doc.close(m_IsDefaultPool); doc = null;
doc.close(m_IsDefaultPool); doc = null;
doc.close(m_IsDefaultPool); doc = null;