1752817 Members
4019 Online
108789 Solutions
New Discussion

jdbc test connection

 
steve-n
Occasional Contributor

jdbc test connection

Anyone have a simple script that test the jdbc connection to a database.

I found some on the web but can't get it to compile.
1 REPLY 1
Yogeeraj_1
Honored Contributor

Re: jdbc test connection

hi,

can you post the piece of code and the error messages?

What is the environment in which you are trying to do the test?

You may look into SQLDEVELOPER which allows you to create custom connection to the database. e.g.
jdbc:oracle:thin:scott/@localhost:1521:orcl


revert!
kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)