Subject java 1.5: Slow connection to Database
Author nagypapi
Because of this bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5092063

the 1.5 release of java runtime takes 4-5 seconds to connect to the
database.
I am looking for a workaround in java (not editing the hosts file or
something else), that can be compiled under 1.4 and doesn't have this
waiting problem if run under 1.5

The workarounds proposed either require java 1.5, or use InetAddress,
whilst (as I see it) DriverManager.getConnection() requires a database
url.

Has anyone else encountered this? Any suggestions, anything I have missed?

Thanks,

John