java/jdbc-loopback-driver/src/main/java/info/globalcode/jdbc/loopback/AbstractStatement.java
author František Kučera <franta-hg@frantovo.cz>
Thu, 24 Oct 2019 21:43:08 +0200
branchv_0
changeset 250 aae5009bd0af
parent 237 7e08730da258
permissions -rw-r--r--
fix license version: GNU GPLv3
     1 /**
     2  * SQL-DK
     3  * Copyright © 2014 František Kučera (frantovo.cz)
     4  *
     5  * This program is free software: you can redistribute it and/or modify
     6  * it under the terms of the GNU General Public License as published by
     7  * the Free Software Foundation, version 3 of the License.
     8  *
     9  * This program is distributed in the hope that it will be useful,
    10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    12  * GNU General Public License for more details.
    13  *
    14  * You should have received a copy of the GNU General Public License
    15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
    16  */
    17 package info.globalcode.jdbc.loopback;
    18 
    19 import java.sql.Connection;
    20 import java.sql.SQLException;
    21 import java.sql.SQLWarning;
    22 
    23 /**
    24  *
    25  * @author Ing. František Kučera (frantovo.cz)
    26  */
    27 public abstract class AbstractStatement implements java.sql.Statement {
    28 
    29 	@Override
    30 	public ResultSet executeQuery(String sql) throws SQLException {
    31 		throw new SQLException("Not supported yet.");
    32 	}
    33 
    34 	@Override
    35 	public int executeUpdate(String sql) throws SQLException {
    36 		throw new SQLException("Not supported yet.");
    37 	}
    38 
    39 	@Override
    40 	public void close() throws SQLException {
    41 		throw new SQLException("Not supported yet.");
    42 	}
    43 
    44 	@Override
    45 	public int getMaxFieldSize() throws SQLException {
    46 		throw new SQLException("Not supported yet.");
    47 	}
    48 
    49 	@Override
    50 	public void setMaxFieldSize(int max) throws SQLException {
    51 		throw new SQLException("Not supported yet.");
    52 	}
    53 
    54 	@Override
    55 	public int getMaxRows() throws SQLException {
    56 		throw new SQLException("Not supported yet.");
    57 	}
    58 
    59 	@Override
    60 	public void setMaxRows(int max) throws SQLException {
    61 		throw new SQLException("Not supported yet.");
    62 	}
    63 
    64 	@Override
    65 	public void setEscapeProcessing(boolean enable) throws SQLException {
    66 		throw new SQLException("Not supported yet.");
    67 	}
    68 
    69 	@Override
    70 	public int getQueryTimeout() throws SQLException {
    71 		throw new SQLException("Not supported yet.");
    72 	}
    73 
    74 	@Override
    75 	public void setQueryTimeout(int seconds) throws SQLException {
    76 		throw new SQLException("Not supported yet.");
    77 	}
    78 
    79 	@Override
    80 	public void cancel() throws SQLException {
    81 		throw new SQLException("Not supported yet.");
    82 	}
    83 
    84 	@Override
    85 	public SQLWarning getWarnings() throws SQLException {
    86 		throw new SQLException("Not supported yet.");
    87 	}
    88 
    89 	@Override
    90 	public void clearWarnings() throws SQLException {
    91 		throw new SQLException("Not supported yet.");
    92 	}
    93 
    94 	@Override
    95 	public void setCursorName(String name) throws SQLException {
    96 		throw new SQLException("Not supported yet.");
    97 	}
    98 
    99 	@Override
   100 	public boolean execute(String sql) throws SQLException {
   101 		throw new SQLException("Not supported yet.");
   102 	}
   103 
   104 	@Override
   105 	public java.sql.ResultSet getResultSet() throws SQLException {
   106 		throw new SQLException("Not supported yet.");
   107 	}
   108 
   109 	@Override
   110 	public int getUpdateCount() throws SQLException {
   111 		throw new SQLException("Not supported yet.");
   112 	}
   113 
   114 	@Override
   115 	public boolean getMoreResults() throws SQLException {
   116 		throw new SQLException("Not supported yet.");
   117 	}
   118 
   119 	@Override
   120 	public void setFetchDirection(int direction) throws SQLException {
   121 		throw new SQLException("Not supported yet.");
   122 	}
   123 
   124 	@Override
   125 	public int getFetchDirection() throws SQLException {
   126 		throw new SQLException("Not supported yet.");
   127 	}
   128 
   129 	@Override
   130 	public void setFetchSize(int rows) throws SQLException {
   131 		throw new SQLException("Not supported yet.");
   132 	}
   133 
   134 	@Override
   135 	public int getFetchSize() throws SQLException {
   136 		throw new SQLException("Not supported yet.");
   137 	}
   138 
   139 	@Override
   140 	public int getResultSetConcurrency() throws SQLException {
   141 		throw new SQLException("Not supported yet.");
   142 	}
   143 
   144 	@Override
   145 	public int getResultSetType() throws SQLException {
   146 		throw new SQLException("Not supported yet.");
   147 	}
   148 
   149 	@Override
   150 	public void addBatch(String sql) throws SQLException {
   151 		throw new SQLException("Not supported yet.");
   152 	}
   153 
   154 	@Override
   155 	public void clearBatch() throws SQLException {
   156 		throw new SQLException("Not supported yet.");
   157 	}
   158 
   159 	@Override
   160 	public int[] executeBatch() throws SQLException {
   161 		throw new SQLException("Not supported yet.");
   162 	}
   163 
   164 	@Override
   165 	public Connection getConnection() throws SQLException {
   166 		throw new SQLException("Not supported yet.");
   167 	}
   168 
   169 	@Override
   170 	public boolean getMoreResults(int current) throws SQLException {
   171 		throw new SQLException("Not supported yet.");
   172 	}
   173 
   174 	@Override
   175 	public ResultSet getGeneratedKeys() throws SQLException {
   176 		throw new SQLException("Not supported yet.");
   177 	}
   178 
   179 	@Override
   180 	public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException {
   181 		throw new SQLException("Not supported yet.");
   182 	}
   183 
   184 	@Override
   185 	public int executeUpdate(String sql, int[] columnIndexes) throws SQLException {
   186 		throw new SQLException("Not supported yet.");
   187 	}
   188 
   189 	@Override
   190 	public int executeUpdate(String sql, String[] columnNames) throws SQLException {
   191 		throw new SQLException("Not supported yet.");
   192 	}
   193 
   194 	@Override
   195 	public boolean execute(String sql, int autoGeneratedKeys) throws SQLException {
   196 		throw new SQLException("Not supported yet.");
   197 	}
   198 
   199 	@Override
   200 	public boolean execute(String sql, int[] columnIndexes) throws SQLException {
   201 		throw new SQLException("Not supported yet.");
   202 	}
   203 
   204 	@Override
   205 	public boolean execute(String sql, String[] columnNames) throws SQLException {
   206 		throw new SQLException("Not supported yet.");
   207 	}
   208 
   209 	@Override
   210 	public int getResultSetHoldability() throws SQLException {
   211 		throw new SQLException("Not supported yet.");
   212 	}
   213 
   214 	@Override
   215 	public boolean isClosed() throws SQLException {
   216 		throw new SQLException("Not supported yet.");
   217 	}
   218 
   219 	@Override
   220 	public void setPoolable(boolean poolable) throws SQLException {
   221 		throw new SQLException("Not supported yet.");
   222 	}
   223 
   224 	@Override
   225 	public boolean isPoolable() throws SQLException {
   226 		throw new SQLException("Not supported yet.");
   227 	}
   228 
   229 	@Override
   230 	public void closeOnCompletion() throws SQLException {
   231 		throw new SQLException("Not supported yet.");
   232 	}
   233 
   234 	@Override
   235 	public boolean isCloseOnCompletion() throws SQLException {
   236 		throw new SQLException("Not supported yet.");
   237 	}
   238 
   239 	@Override
   240 	public <T> T unwrap(Class<T> iface) throws SQLException {
   241 		throw new SQLException("Not supported yet.");
   242 	}
   243 
   244 	@Override
   245 	public boolean isWrapperFor(Class<?> iface) throws SQLException {
   246 		throw new SQLException("Not supported yet.");
   247 	}
   248 	
   249 }