请问,JDBC数据类型共多少种,都是哪些?能详细列出来吗??列者有分,共97分,送完为止!!

yeaker 2002-01-09 10:19:06
请问,JDBC数据类型共多少种,都是哪些?能详细列出来吗??列者有分,共97分,送完为止!!
...全文
156 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
Patrick_DK 2002-01-09
  • 打赏
  • 举报
回复
紧急插播:

请各位高手帮忙看看

http://www.csdn.net/expert/topic/466/466055.shtm
hexiaofeng 2002-01-09
  • 打赏
  • 举报
回复
Field Summary
static int ARRAY
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type ARRAY.
static int BIGINT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BIGINT.
static int BINARY
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BINARY.
static int BIT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BIT.
static int BLOB
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BLOB.
static int CHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type CHAR.
static int CLOB
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type CLOB.
static int DATE
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DATE.
static int DECIMAL
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DECIMAL.
static int DISTINCT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DISTINCT.
static int DOUBLE
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DOUBLE.
static int FLOAT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type FLOAT.
static int INTEGER
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type INTEGER.
static int JAVA_OBJECT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type JAVA_OBJECT.
static int LONGVARBINARY
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type LONGVARBINARY.
static int LONGVARCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type LONGVARCHAR.
static int NULL
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NULL.
static int NUMERIC
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NUMERIC.
static int OTHER
The constant in the Java programming language that indicates that the SQL type is database-specific and gets mapped to a Java object that can be accessed via the methods getObject and setObject.
static int REAL
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type REAL.
static int REF
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type REF.
static int SMALLINT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type SMALLINT.
static int STRUCT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type STRUCT.
static int TIME
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TIME.
static int TIMESTAMP
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TIMESTAMP.
static int TINYINT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TINYINT.
static int VARBINARY
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type VARBINARY.
static int VARCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type VARCHAR.
skyyoung 2002-01-09
  • 打赏
  • 举报
回复
java.sql
Class Types
java.lang.Object
|
+--java.sql.Types


--------------------------------------------------------------------------------

public class Types
extends Object

The class that defines the constants that are used to identify generic SQL types, called JDBC types. The actual type constant values are equivalent to those in XOPEN.

This class is never instantiated.




--------------------------------------------------------------------------------

Field Summary
static int ARRAY
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type ARRAY.
static int BIGINT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BIGINT.
static int BINARY
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BINARY.
static int BIT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BIT.
static int BLOB
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BLOB.
static int BOOLEAN
The constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL type BOOLEAN.
static int CHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type CHAR.
static int CLOB
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type CLOB.
static int DATALINK
The constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL type DATALINK.
static int DATE
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DATE.
static int DECIMAL
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DECIMAL.
static int DISTINCT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DISTINCT.
static int DOUBLE
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DOUBLE.
static int FLOAT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type FLOAT.
static int INTEGER
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type INTEGER.
static int JAVA_OBJECT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type JAVA_OBJECT.
static int LONGVARBINARY
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type LONGVARBINARY.
static int LONGVARCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type LONGVARCHAR.
static int NULL
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NULL.
static int NUMERIC
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NUMERIC.
static int OTHER
The constant in the Java programming language that indicates that the SQL type is database-specific and gets mapped to a Java object that can be accessed via the methods getObject and setObject.
static int REAL
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type REAL.
static int REF
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type REF.
static int SMALLINT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type SMALLINT.
static int STRUCT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type STRUCT.
static int TIME
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TIME.
static int TIMESTAMP
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TIMESTAMP.
static int TINYINT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TINYINT.
static int VARBINARY
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type VARBINARY.
static int VARCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type VARCHAR.

skyyoung 2002-01-09
  • 打赏
  • 举报
回复
http://industry.java.sun.com/products/jdbc/drivers

23,407

社区成员

发帖
与我相关
我的任务
社区描述
Java 非技术区
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧