When I validate the Oracle connection ,its getting the above error .In my application using driver ojdbc10 19.10 ,Database 19c version 19.14.0.0.0. The timezone of the Oracle server is GMT, the ec2 server timezone is UTC.
Does anyone, please help out?
Example code here
String qli_jdbc_uri = "jdbc:oracle:thin:@//xxxxxxxxxx:1521/xxxx"; String qli_username = "xxxx"; String qli_password = "xxxx"; Connection conn=null; Properties properties = new Properties(); properties.put("user", qli_username); properties.put("password",qli_password); OracleDriver driver = new OracleDriver(); try { conn = driver.connect(qli_jdbc_uri, properties); System.out.println("conn...."+conn); } catch (SQLException ex) { ex.getMessage(); } if (conn == null) { System.out.println("Conn is NUll.."); }