|
|
|
@ -167,7 +167,7 @@ public class StubConnection extends StubBaseConnection implements Connection
|
|
|
|
|
/** {@inheritDoc} */
|
|
|
|
|
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
|
|
|
|
|
{
|
|
|
|
|
return new StubPreparedStatement();
|
|
|
|
|
return new StubPreparedStatement(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** {@inheritDoc} */
|
|
|
|
@ -229,7 +229,7 @@ public class StubConnection extends StubBaseConnection implements Connection
|
|
|
|
|
/** {@inheritDoc} */
|
|
|
|
|
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
|
|
|
|
|
{
|
|
|
|
|
return new StubPreparedStatement();
|
|
|
|
|
return new StubPreparedStatement(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** {@inheritDoc} */
|
|
|
|
@ -241,19 +241,19 @@ public class StubConnection extends StubBaseConnection implements Connection
|
|
|
|
|
/** {@inheritDoc} */
|
|
|
|
|
public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
|
|
|
|
|
{
|
|
|
|
|
return new StubPreparedStatement();
|
|
|
|
|
return new StubPreparedStatement(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** {@inheritDoc} */
|
|
|
|
|
public PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException
|
|
|
|
|
{
|
|
|
|
|
return new StubPreparedStatement();
|
|
|
|
|
return new StubPreparedStatement(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** {@inheritDoc} */
|
|
|
|
|
public PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException
|
|
|
|
|
{
|
|
|
|
|
return new StubPreparedStatement();
|
|
|
|
|
return new StubPreparedStatement(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** {@inheritDoc} */
|
|
|
|
|