My Oracle Support Banner

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

Last updated on SEPTEMBER 26, 2023

Applies to:

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


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.


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

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