Hi Tom,
I just was thinking to add a little commentary in my previous post on how elegantly MySQL handles this problem, however I didn't want to begin blaming the commercial databases ;) So, yes this approch works in MySQL, but is not supported in Sybase, Oracle and probably other databases.
thanks anyway :) Danilo
Danilo Tommasina wrote:
Several database driver need special extra paramters for adding support for special database features like unicode support and tuning options. For this reason in JDBC there is the method 'static Connection getConnection(String url, Properties info)' that allows to feed the driver with several tuning options.
Have you tried to configure the jdbc driver via the url, e.g.
jdbc:mysql://localhost/myDB?reconnectTimeout=2000
(don't know if this particular property exists for MySql though:-) ).
Tom
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
