My Oracle Support Banner

How to Confirm JDBC Connectivity From a Simple, Standalone Java Program (Doc ID 2532939.1)

Last updated on AUGUST 02, 2019

Applies to:

JDBC - Version 11.2.0.1.0 and later
Information in this document applies to any platform.

Goal

In cases where there is difficulty troubleshooting JDBC driver connectivity problems, it can be useful to test the same connection from a small, standalone Java program such as the following example.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.