//
// Created by Grishul Eugeny
//
// Copyright © Grishul Eugeny 2008
//

import java.io.InputStream;
import java.io.Reader;
import java.math.BigDecimal;
import java.net.URL;
import java.sql.*;
import java.util.Calendar;

public class NullPreparedStatement implements PreparedStatement {
public static final NullPreparedStatement Instance = new NullPreparedStatement();

public ResultSet executeQuery() throws SQLException {
return null; //To change body of implemented methods use File | Settings | File Templates.
}

public int executeUpdate() throws SQLException {
return 0; //To change body of implemented methods use File | Settings | File Templates.
}

public void setNull( int parameterIndex, int sqlType ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setBoolean( int parameterIndex, boolean x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setByte( int parameterIndex, byte x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setShort( int parameterIndex, short x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setInt( int parameterIndex, int x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setLong( int parameterIndex, long x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setFloat( int parameterIndex, float x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setDouble( int parameterIndex, double x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setBigDecimal( int parameterIndex, BigDecimal x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setString( int parameterIndex, String x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setBytes( int parameterIndex, byte x[] ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setDate( int parameterIndex, Date x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setTime( int parameterIndex, Time x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setTimestamp( int parameterIndex, Timestamp x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setAsciiStream( int parameterIndex, InputStream x, int length ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setUnicodeStream( int parameterIndex, InputStream x, int length ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setBinaryStream( int parameterIndex, InputStream x, int length ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void clearParameters() throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setObject( int parameterIndex, Object x, int targetSqlType ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setObject( int parameterIndex, Object x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public boolean execute() throws SQLException {
return false; //To change body of implemented methods use File | Settings | File Templates.
}

public void addBatch() throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setCharacterStream( int parameterIndex, Reader reader, int length ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setRef( int parameterIndex, Ref x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setBlob( int parameterIndex, Blob x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setClob( int parameterIndex, Clob x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setArray( int parameterIndex, Array x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public ResultSetMetaData getMetaData() throws SQLException {
return null; //To change body of implemented methods use File | Settings | File Templates.
}

public void setDate( int parameterIndex, Date x, Calendar cal ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setTime( int parameterIndex, Time x, Calendar cal ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setTimestamp( int parameterIndex, Timestamp x, Calendar cal ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setNull( int parameterIndex, int sqlType, String typeName ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setURL( int parameterIndex, URL x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public ParameterMetaData getParameterMetaData() throws SQLException {
return null; //To change body of implemented methods use File | Settings | File Templates.
}

public void setRowId( int parameterIndex, RowId x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setNString( int parameterIndex, String value ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setNCharacterStream( int parameterIndex, Reader value, long length ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setNClob( int parameterIndex, NClob value ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setClob( int parameterIndex, Reader reader, long length ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setBlob( int parameterIndex, InputStream inputStream, long length ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setNClob( int parameterIndex, Reader reader, long length ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setSQLXML( int parameterIndex, SQLXML xmlObject ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setObject( int parameterIndex, Object x, int targetSqlType, int scaleOrLength ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setAsciiStream( int parameterIndex, InputStream x, long length ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setBinaryStream( int parameterIndex, InputStream x, long length ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setCharacterStream( int parameterIndex, Reader reader, long length ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}//-----

public void setAsciiStream( int parameterIndex, InputStream x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setBinaryStream( int parameterIndex, InputStream x ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setCharacterStream( int parameterIndex, Reader reader ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setNCharacterStream( int parameterIndex, Reader value ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setClob( int parameterIndex, Reader reader ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setBlob( int parameterIndex, InputStream inputStream ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setNClob( int parameterIndex, Reader reader ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public ResultSet executeQuery( String sql ) throws SQLException {
return null; //To change body of implemented methods use File | Settings | File Templates.
}

public int executeUpdate( String sql ) throws SQLException {
return 0; //To change body of implemented methods use File | Settings | File Templates.
}

public void close() throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public int getMaxFieldSize() throws SQLException {
return 0; //To change body of implemented methods use File | Settings | File Templates.
}

public void setMaxFieldSize( int max ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public int getMaxRows() throws SQLException {
return 0; //To change body of implemented methods use File | Settings | File Templates.
}

public void setMaxRows( int max ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setEscapeProcessing( boolean enable ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public int getQueryTimeout() throws SQLException {
return 0; //To change body of implemented methods use File | Settings | File Templates.
}

public void setQueryTimeout( int seconds ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void cancel() throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public SQLWarning getWarnings() throws SQLException {
return null; //To change body of implemented methods use File | Settings | File Templates.
}

public void clearWarnings() throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void setCursorName( String name ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public boolean execute( String sql ) throws SQLException {
return false; //To change body of implemented methods use File | Settings | File Templates.
}

public ResultSet getResultSet() throws SQLException {
return null; //To change body of implemented methods use File | Settings | File Templates.
}

public int getUpdateCount() throws SQLException {
return 0; //To change body of implemented methods use File | Settings | File Templates.
}

public boolean getMoreResults() throws SQLException {
return false; //To change body of implemented methods use File | Settings | File Templates.
}

public void setFetchDirection( int direction ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public int getFetchDirection() throws SQLException {
return 0; //To change body of implemented methods use File | Settings | File Templates.
}

public void setFetchSize( int rows ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public int getFetchSize() throws SQLException {
return 0; //To change body of implemented methods use File | Settings | File Templates.
}

public int getResultSetConcurrency() throws SQLException {
return 0; //To change body of implemented methods use File | Settings | File Templates.
}

public int getResultSetType() throws SQLException {
return 0; //To change body of implemented methods use File | Settings | File Templates.
}

public void addBatch( String sql ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public void clearBatch() throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public int[] executeBatch() throws SQLException {
return new int[0]; //To change body of implemented methods use File | Settings | File Templates.
}

public Connection getConnection() throws SQLException {
return null; //To change body of implemented methods use File | Settings | File Templates.
}

public boolean getMoreResults( int current ) throws SQLException {
return false; //To change body of implemented methods use File | Settings | File Templates.
}

public ResultSet getGeneratedKeys() throws SQLException {
return null; //To change body of implemented methods use File | Settings | File Templates.
}

public int executeUpdate( String sql, int autoGeneratedKeys ) throws SQLException {
return 0; //To change body of implemented methods use File | Settings | File Templates.
}

public int executeUpdate( String sql, int columnIndexes[] ) throws SQLException {
return 0; //To change body of implemented methods use File | Settings | File Templates.
}

public int executeUpdate( String sql, String columnNames[] ) throws SQLException {
return 0; //To change body of implemented methods use File | Settings | File Templates.
}

public boolean execute( String sql, int autoGeneratedKeys ) throws SQLException {
return false; //To change body of implemented methods use File | Settings | File Templates.
}

public boolean execute( String sql, int columnIndexes[] ) throws SQLException {
return false; //To change body of implemented methods use File | Settings | File Templates.
}

public boolean execute( String sql, String columnNames[] ) throws SQLException {
return false; //To change body of implemented methods use File | Settings | File Templates.
}

public int getResultSetHoldability() throws SQLException {
return 0; //To change body of implemented methods use File | Settings | File Templates.
}

public boolean isClosed() throws SQLException {
return false; //To change body of implemented methods use File | Settings | File Templates.
}

public void setPoolable( boolean poolable ) throws SQLException {
//To change body of implemented methods use File | Settings | File Templates.
}

public boolean isPoolable() throws SQLException {
return false; //To change body of implemented methods use File | Settings | File Templates.
}

public <T> T unwrap( Class<T> iface ) throws SQLException {
return null; //To change body of implemented methods use File | Settings | File Templates.
}

public boolean isWrapperFor( Class<?> iface ) throws SQLException {
return false; //To change body of implemented methods use File | Settings | File Templates.
}
}
Соседние файлы в папке src