565566567568569570571572573574575
Runnable closeRunnable = new Runnable() { public void run() { // Unlock the connection now that the user has finished with it mc.unlock(); if (!enlisted) { // Close the (unenlisted) connection (committing its statements) try {
660661662663664665666667668669670
Runnable closeRunnable = new Runnable() { public void run() { // Unlock the connection now that the user has finished with it mc.unlock(); if (!enlisted) { // Close the (unenlisted) connection (committing its statements) mc.close(); }
315316317318319320321322323324325
mc.lock(); Runnable closeRunnable = new Runnable() { public void run() { // Unlock the connection now that the user has finished with it mc.unlock(); if (!enlisted) { // TODO Anything to do here? } } };