public void setStatement(S s) {
		S oldStatement = statement;
		statement = s;
		ownerThread = Thread.currentThread();
		if (oldStatement != null) {
			Msg.error(this, "Statement cached more than once - closing old statement");
			try {
				oldStatement.close();
			}
			catch (SQLException e) {
				// ignore
			}
		}
	}
Set the associated {@link Statement} instance.  This method may be used in place of
{@link #prepareIfNeeded(StatementSupplier)} although it is not preferred since it
can result in replacement of one previously established.  The {@link #getStatement()}
should be used first to ensure one was not previously set.  An error will be logged
if the invocation replaces an existing statement which will be forced closed.
<P>
The owner thread for the statement will be established based on the 
{@link Thread#currentThread()}.

@param s statement to be cached
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/tables/CachedStatement.java