< prev index next >

src/java.sql/share/classes/java/sql/Types.java

Print this page




  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package java.sql;
  27 
  28 /**
  29  * <P>The class that defines the constants that are used to identify generic
  30  * SQL types, called JDBC types.
  31  * <p>
  32  * This class is never instantiated.


  33  */
  34 public class Types {
  35 
  36 /**
  37  * <P>The constant in the Java programming language, sometimes referred
  38  * to as a type code, that identifies the generic SQL type
  39  * <code>BIT</code>.
  40  */
  41         public final static int BIT             =  -7;
  42 
  43 /**
  44  * <P>The constant in the Java programming language, sometimes referred
  45  * to as a type code, that identifies the generic SQL type
  46  * <code>TINYINT</code>.
  47  */
  48         public final static int TINYINT         =  -6;
  49 
  50 /**
  51  * <P>The constant in the Java programming language, sometimes referred
  52  * to as a type code, that identifies the generic SQL type




  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package java.sql;
  27 
  28 /**
  29  * <P>The class that defines the constants that are used to identify generic
  30  * SQL types, called JDBC types.
  31  * <p>
  32  * This class is never instantiated.
  33  *
  34  * @since 1.1
  35  */
  36 public class Types {
  37 
  38 /**
  39  * <P>The constant in the Java programming language, sometimes referred
  40  * to as a type code, that identifies the generic SQL type
  41  * <code>BIT</code>.
  42  */
  43         public final static int BIT             =  -7;
  44 
  45 /**
  46  * <P>The constant in the Java programming language, sometimes referred
  47  * to as a type code, that identifies the generic SQL type
  48  * <code>TINYINT</code>.
  49  */
  50         public final static int TINYINT         =  -6;
  51 
  52 /**
  53  * <P>The constant in the Java programming language, sometimes referred
  54  * to as a type code, that identifies the generic SQL type


< prev index next >