I have an application coded in Java which checks the oracle database if any new record is added.
so the line of code for eastablishing the conection is :
java.sql.Connection conn = DriverManager.getConnection ( "jdbc
racle:thin:@10.3.7.197:1521
EV", "lot3","lot3" );
the application checks the database every 2 mins for any new records.
everytime the appln tries connecting to the DB, it is doing a DNS lookup. IS there any way to stop this DNS lookup?
the appln is running on AIX Unix machine.
Can anybody please help me?
otherwise, can anybody please tell me whether Connection to Database thru JDBC driver really does a DNS Lookup always....