Understanding the JDBC Driver Data Types
Microsoft SQL Server JDBC Driver 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.
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.
Describes how the JDBC Driver generates dates.
Describes the JDBC advanced data types.
Describes differences between the various JDBC driver data types.
Describes how data type conversion is handled when using getter and setter methods.
Describes the support for the national character set types.
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.
Discusses the interfaces that have the SQL Server JDBC driver specific methods and constants that allow an application server to create a proxy of the class, Also discusses supports for the the java.sql.Wrapper interface.