Exemplo n.º 1
0
 public void fdo_close(ServletOutputStream sos) throws Exception {
   if (acquired) {
     acquired = false;
     try {
       dbm.release(plugin, sos);
     } catch (Exception e) {
       Frontier.Log("Error releasing DB connection " + e);
       throw e;
     }
   }
 }
Exemplo n.º 2
0
 private void acquireConnectionIfNeeded(ServletOutputStream sos) throws Exception {
   if (!acquired) {
     dbm.acquire(plugin, sos);
     acquired = true;
   }
 }