Understanding the JDBC driver data types

Download JDBC driver

Microsoft JDBC Driver for SQL Server supports the use of JDBC basic and advanced data types within a Java application that uses SQL Server as its database.

The JDBC type system mediates the conversion between SQL Server data types and Java language types and objects. The JDBC types are modeled on the SQL-92 and SQL-99 types. The JDBC driver adheres to the JDBC specification and is designed to provide the right balance between predictability and flexibility.

The topics in this section describe how to use the basic and advanced data types, and how data types can be converted into other data types.

In this section

Topic Description
Using basic data types Describes the JDBC basic data types. Includes examples of how to work with the data types by using result sets, parameterized queries, and stored procedures.
Configuring how java.sql.Time values are sent to the server Describes how the JDBC Driver generates dates.
Using advanced data types Describes the JDBC advanced data types.
Understanding data type differences Describes differences between the various JDBC driver data types.
Understanding data type conversions Describes how data type conversion is handled when using getter and setter methods.
National character set support Describes the support for the national character set types.
Supporting XML data Describes the SQLXML interface. Also describes how to read and write an XML data from and to the relational database with the SQLXML Java data type.
Wrappers and interfaces Discusses the interfaces that have the Microsoft JDBC Driver for SQL Server specific methods and constants that allow an application server to create a proxy of the class, Also discusses supports for the java.sql.Wrapper interface.

See also

Overview of the JDBC driver