src/java.sql/share/classes/javax/sql/RowSetMetaData.java
author naoto
Tue, 12 Nov 2019 14:05:18 -0800
changeset 59043 1a79b4bfc85a
parent 47216 71c04702a3d5
permissions -rw-r--r--
8232860: Error formatting integer values with MessageFormat.format() using HOST provider Reviewed-by: rriggs
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     2
 * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    23
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
package javax.sql;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
import java.sql.*;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
/**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
 * An object that contains information about the columns in a
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
 * <code>RowSet</code> object.  This interface is
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
 * an extension of the <code>ResultSetMetaData</code> interface with
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
 * methods for setting the values in a <code>RowSetMetaData</code> object.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
 * When a <code>RowSetReader</code> object reads data into a <code>RowSet</code>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
 * object, it creates a <code>RowSetMetaData</code> object and initializes it
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
 * using the methods in the <code>RowSetMetaData</code> interface.  Then the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
 * reader passes the <code>RowSetMetaData</code> object to the rowset.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
 * <P>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
 * The methods in this interface are invoked internally when an application
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
 * calls the method <code>RowSet.execute</code>; an application
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
 * programmer would not use them directly.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
 * @since 1.4
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
public interface RowSetMetaData extends ResultSetMetaData {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
   * Sets the number of columns in the <code>RowSet</code> object to
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
   * the given number.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
   * @param columnCount the number of columns in the <code>RowSet</code> object
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
   * @exception SQLException if a database access error occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
  void setColumnCount(int columnCount) throws SQLException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
   * Sets whether the designated column is automatically numbered,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
   * The default is for a <code>RowSet</code> object's
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
   * columns not to be automatically numbered.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
   * @param columnIndex the first column is 1, the second is 2, ...
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
   * @param property <code>true</code> if the column is automatically
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
   *                 numbered; <code>false</code> if it is not
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
   * @exception SQLException if a database access error occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
  void setAutoIncrement(int columnIndex, boolean property) throws SQLException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
   * Sets whether the designated column is case sensitive.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
   * The default is <code>false</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
   * @param columnIndex the first column is 1, the second is 2, ...
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
   * @param property <code>true</code> if the column is case sensitive;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
   *                 <code>false</code> if it is not
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
   * @exception SQLException if a database access error occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
  void setCaseSensitive(int columnIndex, boolean property) throws SQLException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
   * Sets whether the designated column can be used in a where clause.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
   * The default is <code>false</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
   * @param columnIndex the first column is 1, the second is 2, ...
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
   * @param property <code>true</code> if the column can be used in a
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
   *                 <code>WHERE</code> clause; <code>false</code> if it cannot
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
   * @exception SQLException if a database access error occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
  void setSearchable(int columnIndex, boolean property) throws SQLException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
   * Sets whether the designated column is a cash value.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
   * The default is <code>false</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
   * @param columnIndex the first column is 1, the second is 2, ...
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
   * @param property <code>true</code> if the column is a cash value;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
   *                 <code>false</code> if it is not
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
   * @exception SQLException if a database access error occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
  void setCurrency(int columnIndex, boolean property) throws SQLException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
   * Sets whether the designated column's value can be set to
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
   * <code>NULL</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
   * The default is <code>ResultSetMetaData.columnNullableUnknown</code>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
   * @param columnIndex the first column is 1, the second is 2, ...
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
   * @param property one of the following constants:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
   *                 <code>ResultSetMetaData.columnNoNulls</code>,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
   *                 <code>ResultSetMetaData.columnNullable</code>, or
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
   *                 <code>ResultSetMetaData.columnNullableUnknown</code>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
   * @exception SQLException if a database access error occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
  void setNullable(int columnIndex, int property) throws SQLException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
   * Sets whether the designated column is a signed number.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
   * The default is <code>false</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
   * @param columnIndex the first column is 1, the second is 2, ...
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
   * @param property <code>true</code> if the column is a signed number;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
   *                 <code>false</code> if it is not
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
   * @exception SQLException if a database access error occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
  void setSigned(int columnIndex, boolean property) throws SQLException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
   * Sets the designated column's normal maximum width in chars to the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
   * given <code>int</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
   * @param columnIndex the first column is 1, the second is 2, ...
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
   * @param size the normal maximum number of characters for
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
   *           the designated column
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
   * @exception SQLException if a database access error occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
  void setColumnDisplaySize(int columnIndex, int size) throws SQLException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
   * Sets the suggested column title for use in printouts and
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
   * displays, if any, to the given <code>String</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
   * @param columnIndex the first column is 1, the second is 2, ...
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
   * @param label the column title
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
   * @exception SQLException if a database access error occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
  void setColumnLabel(int columnIndex, String label) throws SQLException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
   * Sets the name of the designated column to the given <code>String</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
   * @param columnIndex the first column is 1, the second is 2, ...
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
   * @param columnName the designated column's name
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
   * @exception SQLException if a database access error occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
  void setColumnName(int columnIndex, String columnName) throws SQLException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
   * Sets the name of the designated column's table's schema, if any, to
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
   * the given <code>String</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
   * @param columnIndex the first column is 1, the second is 2, ...
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
   * @param schemaName the schema name
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
   * @exception SQLException if a database access error occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
  void setSchemaName(int columnIndex, String schemaName) throws SQLException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
   * Sets the designated column's number of decimal digits to the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
   * given <code>int</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
   * @param columnIndex the first column is 1, the second is 2, ...
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
   * @param precision the total number of decimal digits
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
   * @exception SQLException if a database access error occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
  void setPrecision(int columnIndex, int precision) throws SQLException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
   * Sets the designated column's number of digits to the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
   * right of the decimal point to the given <code>int</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
   * @param columnIndex the first column is 1, the second is 2, ...
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
   * @param scale the number of digits to right of decimal point
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
   * @exception SQLException if a database access error occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
  void setScale(int columnIndex, int scale) throws SQLException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
   * Sets the designated column's table name, if any, to the given
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
   * <code>String</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
   * @param columnIndex the first column is 1, the second is 2, ...
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
   * @param tableName the column's table name
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
   * @exception SQLException if a database access error occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
  void setTableName(int columnIndex, String tableName) throws SQLException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
   * Sets the designated column's table's catalog name, if any, to the given
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
   * <code>String</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
   * @param columnIndex the first column is 1, the second is 2, ...
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
   * @param catalogName the column's catalog name
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
   * @exception SQLException if a database access error occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
  void setCatalogName(int columnIndex, String catalogName) throws SQLException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
   * Sets the designated column's SQL type to the one given.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
   * @param columnIndex the first column is 1, the second is 2, ...
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
   * @param SQLType the column's SQL type
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
   * @exception SQLException if a database access error occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
   * @see Types
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
  void setColumnType(int columnIndex, int SQLType) throws SQLException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
   * Sets the designated column's type name that is specific to the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
   * data source, if any, to the given <code>String</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
   *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
   * @param columnIndex the first column is 1, the second is 2, ...
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
   * @param typeName data source specific type name.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
   * @exception SQLException if a database access error occurs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
  void setColumnTypeName(int columnIndex, String typeName) throws SQLException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
}