java/jdbc-loopback-driver/src/info/globalcode/jdbc/loopback/AbstractStatement.java
author František Kučera <franta-hg@frantovo.cz>
Sat, 15 Aug 2015 14:35:27 +0200
branchv_0
changeset 216 0eb9aec16bf4
parent 171 701ec4db43fb
permissions -rw-r--r--
--list-formatter-properties: optional column declared_in

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