(Almost) fix bpel monitor build
parent
9a3aba6ed7
commit
efee93dac6
|
@ -55,6 +55,8 @@ import java.util.Iterator;
|
|||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
import java.util.Set;
|
||||
import java.util.logging.Logger;
|
||||
import java.util.concurrent.Executor;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
import javax.transaction.HeuristicMixedException;
|
||||
|
@ -300,6 +302,11 @@ public class DummyTxManagerAndDataSource implements DataSource, TransactionManag
|
|||
return null;
|
||||
}
|
||||
|
||||
//@Override
|
||||
public Logger getParentLogger() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see javax.sql.DataSource#setLoginTimeout(int)
|
||||
*/
|
||||
|
@ -439,6 +446,14 @@ class DummyConnection implements Connection {
|
|||
connection.clearWarnings();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see java.sql.Connection#abort()
|
||||
*/
|
||||
public void abort(Executor executor) throws SQLException {
|
||||
|
||||
//Ignore
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see java.sql.Connection#close()
|
||||
*/
|
||||
|
@ -516,6 +531,19 @@ class DummyConnection implements Connection {
|
|||
return connection.getMetaData();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see java.sql.Connection#getNetworkTimeout()
|
||||
*/
|
||||
public int getNetworkTimeout() throws SQLException {
|
||||
|
||||
return connection.getNetworkTimeout();
|
||||
}
|
||||
|
||||
public String getSchema() throws SQLException {
|
||||
|
||||
return connection.getSchema();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see java.sql.Connection#getTransactionIsolation()
|
||||
*/
|
||||
|
@ -708,6 +736,19 @@ class DummyConnection implements Connection {
|
|||
return connection.setSavepoint(name);
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see java.sql.Connection#setNetworkTimeout()
|
||||
*/
|
||||
public void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException {
|
||||
|
||||
connection.setNetworkTimeout(executor, milliseconds);
|
||||
}
|
||||
|
||||
public void setSchema(String schema) throws SQLException {
|
||||
|
||||
connection.setSchema(schema);
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see java.sql.Connection#setTransactionIsolation(int)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue