OSBI/saiku — Issue #37: cancel olap statements
Author: buggtb
Created: 2011-10-11 15:06:05+00:00
State: open

see olap4j test code:

final OlapStatement olapStatement = olapConnection.createStatement();
final Throwable[] exceptions = {null};
new Thread(
new Runnable() {
public void run() {
try {
Thread.sleep(1000);
olapStatement.cancel();
} catch (Throwable e) {
exceptions[0] = e;
}
}
}
).start();