Exemplo n.º 1
0
 protected void finalize() {
   if (!SysProperties.runFinalize) {
     return;
   }
   if (isInternal) {
     return;
   }
   if (session != null && openStackTrace != null) {
     trace.error("Connection not closed", openStackTrace);
     try {
       close();
     } catch (SQLException e) {
       trace.debug("finalize", e);
     }
   }
 }