Revision: 4635 http://sourceforge.net/p/jump-pilot/code/4635 Author: edso Date: 2015-12-18 13:55:48 +0000 (Fri, 18 Dec 2015) Log Message: ----------- slighty improve comment
Modified Paths: -------------- core/trunk/src/com/vividsolutions/jump/datastore/spatialdatabases/SpatialDatabasesDataStoreDriver.java Modified: core/trunk/src/com/vividsolutions/jump/datastore/spatialdatabases/SpatialDatabasesDataStoreDriver.java =================================================================== --- core/trunk/src/com/vividsolutions/jump/datastore/spatialdatabases/SpatialDatabasesDataStoreDriver.java 2015-12-18 13:53:37 UTC (rev 4634) +++ core/trunk/src/com/vividsolutions/jump/datastore/spatialdatabases/SpatialDatabasesDataStoreDriver.java 2015-12-18 13:55:48 UTC (rev 4635) @@ -142,8 +142,8 @@ // workaround a bug in DriverManager.getConnection() when used like this: // Connection conn = DriverManager.getConnection(url, user, password); - // getConnection() blindly connects to each driver and memorizes - // the first Exception that occurs. this includes "invalid database address" + // getConnection() blindly connects to each driver and memorizes only + // the _first_ Exception that occurs. this includes "invalid database address" // errors, which is stupid as connect would have only to ask the driver // if it supports the given url scheme. funny enough getDriver() does, so // we add a bit of code and get the connection ourself w/ the proper driver. ------------------------------------------------------------------------------ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel