I want to retrieve data from Oracle SQL developer and display it into the Java program.But still I couldn't connect with SQL Developer and following error is occurred when try to retrieve data.
My db connection class in program as follow,
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection c = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl","dmusers","123");
In sql developer database connection,