java/jdbc-loopback-driver/src/info/globalcode/jdbc/loopback/AbstractResultSetMetaData.java
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/java/jdbc-loopback-driver/src/info/globalcode/jdbc/loopback/AbstractResultSetMetaData.java Fri Apr 04 23:40:28 2014 +0200
1.3 @@ -0,0 +1,142 @@
1.4 +/**
1.5 + * SQL-DK
1.6 + * Copyright © 2014 František Kučera (frantovo.cz)
1.7 + *
1.8 + * This program is free software: you can redistribute it and/or modify
1.9 + * it under the terms of the GNU General Public License as published by
1.10 + * the Free Software Foundation, either version 3 of the License, or
1.11 + * (at your option) any later version.
1.12 + *
1.13 + * This program is distributed in the hope that it will be useful,
1.14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.16 + * GNU General Public License for more details.
1.17 + *
1.18 + * You should have received a copy of the GNU General Public License
1.19 + * along with this program. If not, see <http://www.gnu.org/licenses/>.
1.20 + */
1.21 +package info.globalcode.jdbc.loopback;
1.22 +
1.23 +import java.sql.SQLException;
1.24 +
1.25 +/**
1.26 + *
1.27 + * @author Ing. František Kučera (frantovo.cz)
1.28 + */
1.29 +public abstract class AbstractResultSetMetaData implements java.sql.ResultSetMetaData {
1.30 +
1.31 + @Override
1.32 + public int getColumnCount() throws SQLException {
1.33 + throw new SQLException("Not supported yet.");
1.34 + }
1.35 +
1.36 + @Override
1.37 + public boolean isAutoIncrement(int column) throws SQLException {
1.38 + throw new SQLException("Not supported yet.");
1.39 + }
1.40 +
1.41 + @Override
1.42 + public boolean isCaseSensitive(int column) throws SQLException {
1.43 + throw new SQLException("Not supported yet.");
1.44 + }
1.45 +
1.46 + @Override
1.47 + public boolean isSearchable(int column) throws SQLException {
1.48 + throw new SQLException("Not supported yet.");
1.49 + }
1.50 +
1.51 + @Override
1.52 + public boolean isCurrency(int column) throws SQLException {
1.53 + throw new SQLException("Not supported yet.");
1.54 + }
1.55 +
1.56 + @Override
1.57 + public int isNullable(int column) throws SQLException {
1.58 + throw new SQLException("Not supported yet.");
1.59 + }
1.60 +
1.61 + @Override
1.62 + public boolean isSigned(int column) throws SQLException {
1.63 + throw new SQLException("Not supported yet.");
1.64 + }
1.65 +
1.66 + @Override
1.67 + public int getColumnDisplaySize(int column) throws SQLException {
1.68 + throw new SQLException("Not supported yet.");
1.69 + }
1.70 +
1.71 + @Override
1.72 + public String getColumnLabel(int column) throws SQLException {
1.73 + throw new SQLException("Not supported yet.");
1.74 + }
1.75 +
1.76 + @Override
1.77 + public String getColumnName(int column) throws SQLException {
1.78 + throw new SQLException("Not supported yet.");
1.79 + }
1.80 +
1.81 + @Override
1.82 + public String getSchemaName(int column) throws SQLException {
1.83 + throw new SQLException("Not supported yet.");
1.84 + }
1.85 +
1.86 + @Override
1.87 + public int getPrecision(int column) throws SQLException {
1.88 + throw new SQLException("Not supported yet.");
1.89 + }
1.90 +
1.91 + @Override
1.92 + public int getScale(int column) throws SQLException {
1.93 + throw new SQLException("Not supported yet.");
1.94 + }
1.95 +
1.96 + @Override
1.97 + public String getTableName(int column) throws SQLException {
1.98 + throw new SQLException("Not supported yet.");
1.99 + }
1.100 +
1.101 + @Override
1.102 + public String getCatalogName(int column) throws SQLException {
1.103 + throw new SQLException("Not supported yet.");
1.104 + }
1.105 +
1.106 + @Override
1.107 + public int getColumnType(int column) throws SQLException {
1.108 + throw new SQLException("Not supported yet.");
1.109 + }
1.110 +
1.111 + @Override
1.112 + public String getColumnTypeName(int column) throws SQLException {
1.113 + throw new SQLException("Not supported yet.");
1.114 + }
1.115 +
1.116 + @Override
1.117 + public boolean isReadOnly(int column) throws SQLException {
1.118 + throw new SQLException("Not supported yet.");
1.119 + }
1.120 +
1.121 + @Override
1.122 + public boolean isWritable(int column) throws SQLException {
1.123 + throw new SQLException("Not supported yet.");
1.124 + }
1.125 +
1.126 + @Override
1.127 + public boolean isDefinitelyWritable(int column) throws SQLException {
1.128 + throw new SQLException("Not supported yet.");
1.129 + }
1.130 +
1.131 + @Override
1.132 + public String getColumnClassName(int column) throws SQLException {
1.133 + throw new SQLException("Not supported yet.");
1.134 + }
1.135 +
1.136 + @Override
1.137 + public <T> T unwrap(Class<T> iface) throws SQLException {
1.138 + throw new SQLException("Not supported yet.");
1.139 + }
1.140 +
1.141 + @Override
1.142 + public boolean isWrapperFor(Class<?> iface) throws SQLException {
1.143 + throw new SQLException("Not supported yet.");
1.144 + }
1.145 +}