Last updated on SEPTEMBER 01, 2014
Applies to:JDBC - Version 10.1.0.5 to 22.214.171.124.0 [Release 10.1 to 11.2]
Information in this document applies to any platform.
*** Updated for version 126.96.36.199 on 06-Nov-2011 ***
After completing a JDBC installation, it is suggested that you run the demo code to verify your installation and configuration. The SelectExample.java demo code can be used to validate your JDBC driver and your connection to SQL*Net.
JDBC demos should be located in:
You can expand this by doing the following:
tar xvf demo.tar
The demonstrations are installed in 10g using the Database Companion CD or in 11g by using the Oracle Examples Installer in the examples directory of the Oracle instalaltion media . The same JDBC demonstrations can also be downloaded from OTN from the JDBC download page ( There is a demo.zip for each specific JDBC driver version)
This article explains how to setup and run a simple demo using both JDBC/thin and JDBC/OCI. The focus of the demonstration is the SelectExample.java sample that is provided in the samples/generic subdirectory of the expanded demo.tar .
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms