Is there a way to test my connection to oracle database using Java? Here\'s my code.
public class OracleConnection { public static void main(String[] args)
"... and if its not then the program will connect to the next ..." I wonder if a cluster connection string containing multiple server addresses could work for you. (I did not try this myself.) Look at Oracle Connection String for RAC Environment.