
com.github.housepower.jdbc.wrapper.SQLStatement Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.housepower.jdbc.wrapper;
import java.sql.*;
public interface SQLStatement extends Statement {
@Override
default ResultSet executeQuery(String sql) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int executeUpdate(String sql) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void close() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int getMaxFieldSize() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void setMaxFieldSize(int max) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int getMaxRows() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void setMaxRows(int max) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void setEscapeProcessing(boolean enable) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int getQueryTimeout() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void setQueryTimeout(int seconds) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void cancel() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default SQLWarning getWarnings() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void clearWarnings() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void setCursorName(String name) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean execute(String sql) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default ResultSet getResultSet() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int getUpdateCount() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean getMoreResults() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void setFetchDirection(int direction) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int getFetchDirection() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void setFetchSize(int rows) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int getFetchSize() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int getResultSetConcurrency() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int getResultSetType() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void addBatch(String sql) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void clearBatch() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int[] executeBatch() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Connection getConnection() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean getMoreResults(int current) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default ResultSet getGeneratedKeys() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int executeUpdate(String sql, int[] columnIndexes) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int executeUpdate(String sql, String[] columnNames) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean execute(String sql, int autoGeneratedKeys) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean execute(String sql, int[] columnIndexes) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean execute(String sql, String[] columnNames) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int getResultSetHoldability() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean isClosed() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void setPoolable(boolean poolable) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean isPoolable() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void closeOnCompletion() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean isCloseOnCompletion() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default long getLargeUpdateCount() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void setLargeMaxRows(long max) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default long getLargeMaxRows() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default long[] executeLargeBatch() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default long executeLargeUpdate(String sql) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default long executeLargeUpdate(String sql, int autoGeneratedKeys) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default long executeLargeUpdate(String sql, int[] columnIndexes) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default long executeLargeUpdate(String sql, String[] columnNames) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default T unwrap(Class iface) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean isWrapperFor(Class> iface) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy