717718719720721722723724725726727
System.out.println("Callable Statement Test failed"); } catch(SQLException e) { } try { cs.cancel(); System.out.println("Callable Statement Test failed"); } catch(SQLException e) { } if (isDerbyNet)
706707708709710711712713714715716
8384858687888990919293
try { if (i == 0) { Thread.sleep(1000); s.cancel(); } else if (i == 1) { //or use some other statement which will block for a longer time long start = System.currentTimeMillis();
6566676869707172737475
@Override public void run() { try { if (i == 0) { Thread.sleep(1000); s.cancel(); } else if (i == 1) { // or use some other statement which will block // for a longer time long start = System.currentTimeMillis(); System.out.println("[" + getName() +