Revision: 4619 http://sourceforge.net/p/jump-pilot/code/4619 Author: edso Date: 2015-12-13 21:47:20 +0000 (Sun, 13 Dec 2015) Log Message: ----------- try to spatialite reflection code
Modified Paths: -------------- core/trunk/src/com/vividsolutions/jump/datastore/spatialite/SpatialiteDataStoreDriver.java Modified: core/trunk/src/com/vividsolutions/jump/datastore/spatialite/SpatialiteDataStoreDriver.java =================================================================== --- core/trunk/src/com/vividsolutions/jump/datastore/spatialite/SpatialiteDataStoreDriver.java 2015-12-13 21:25:02 UTC (rev 4618) +++ core/trunk/src/com/vividsolutions/jump/datastore/spatialite/SpatialiteDataStoreDriver.java 2015-12-13 21:47:20 UTC (rev 4619) @@ -61,10 +61,10 @@ // mandatory to load spatialite extension Class configClazz = Class.forName("org.sqlite.SQLiteConfig"); Method enableMethod = configClazz.getMethod("enableLoadExtension", - new Class[]{Boolean.class}); + new Class[]{boolean.class}); Object config = configClazz.newInstance(); - enableMethod.invoke(config, new Boolean(true)); + enableMethod.invoke(config, true); // this is the code above w/o reflection, KEEP FOR REFERENCE!!! // mandatory to load spatialite extension ------------------------------------------------------------------------------ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel