Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 2.68 KB

sample-jdbc-driver-applications.md

File metadata and controls

37 lines (28 loc) · 2.68 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic
Sample applications
The JDBC Driver for SQL Server sample applications demonstrate various features and good programming practices that you can follow when using the JDBC driver.
David-Engel
davidengel
08/12/2019
sql
connectivity
conceptual

Sample JDBC driver applications

[!INCLUDEDriver_JDBC_Download]

The [!INCLUDEjdbcNoVersion] sample applications demonstrate various features of the JDBC driver. Additionally, they demonstrate good programming practices that you can follow when using the JDBC driver with a [!INCLUDEssNoVersion] database.

All the sample applications are contained in *.java code files that can be compiled and run on your local computer, and they are located in various subfolders in the following location:

\<installation directory>\sqljdbc_<version>\<language>\samples

The articles in this section describe how to configure and run the sample applications, and include a discussion of what the sample applications demonstrate.

In this section

Article Description
Connecting and Retrieving Data These sample applications demonstrate how to connect to a [!INCLUDEssNoVersion] database. They also demonstrate different ways in which to retrieve data from a [!INCLUDEssNoVersion] database.
Working with Data Types (JDBC) These sample applications demonstrate how to use the JDBC driver data type methods to work with data in a [!INCLUDEssNoVersion] database.
Working with Result Sets These sample applications demonstrate how to use result sets to process data contained in a [!INCLUDEssNoVersion] database.
Working with Large Data These sample applications demonstrate how to use adaptive buffering to retrieve large-value data from a [!INCLUDEssNoVersion] database without the overhead of server cursors.
SQL Data Discovery and Classification This sample application demonstrates how to retrieve Data Discovery and Classification information contained in a [!INCLUDEssNoVersion] database from a ResultSet object using JDBC Driver.

See also

Overview of the JDBC driver