Eliminates questions from developers running tests in the IDE...

pull/372/head
Brett Wooldridge 10 years ago
parent 2cf1446fdd
commit 53e7427e63

@ -48,31 +48,31 @@ public final class ProxyFactory
*/
public static IHikariConnectionProxy getProxyConnection(final PoolBagEntry bagEntry, final LeakTask leakTask, final long now)
{
// Body is injected by JavassistProxyFactory
return null;
// Body is replaced (injected) by JavassistProxyFactory
throw new IllegalStateException("You need to run the CLI build and you need target/classes in your classpath to run.");
}
static Statement getProxyStatement(final ConnectionProxy connection, final Statement statement)
{
// Body is injected by JavassistProxyFactory
return null;
// Body is replaced (injected) by JavassistProxyFactory
throw new IllegalStateException("You need to run the CLI build and you need target/classes in your classpath to run.");
}
static CallableStatement getProxyCallableStatement(final ConnectionProxy connection, final CallableStatement statement)
{
// Body is injected by JavassistProxyFactory
return null;
// Body is replaced (injected) by JavassistProxyFactory
throw new IllegalStateException("You need to run the CLI build and you need target/classes in your classpath to run.");
}
static PreparedStatement getProxyPreparedStatement(final ConnectionProxy connection, final PreparedStatement statement)
{
// Body is injected by JavassistProxyFactory
return null;
// Body is replaced (injected) by JavassistProxyFactory
throw new IllegalStateException("You need to run the CLI build and you need target/classes in your classpath to run.");
}
static ResultSet getProxyResultSet(final ConnectionProxy connection, final StatementProxy statement, final ResultSet resultSet)
{
// Body is injected by JavassistProxyFactory
return null;
// Body is replaced (injected) by JavassistProxyFactory
throw new IllegalStateException("You need to run the CLI build and you need target/classes in your classpath to run.");
}
}

Loading…
Cancel
Save