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