I'm trying to run this code:
Map<String, Object> params = new HashMap<String, Object>();
params.put(MySQLDataStoreFactory.DBTYPE.key, "mysql");
params.put(MySQLDataStoreFactory.HOST.key, "localhost");
params.put(MySQLDataStoreFactory.PORT.key, 3309);
params.put(MySQLDataStoreFactory.DATABASE.key,
dataBase);
params.put(MySQLDataStoreFactory.USER.key, user);
params.put(MySQLDataStoreFactory.PASSWD.key, password);
DataStore
dataStore=DataStoreFinder.getDataStore(params);
featureSource = dataStore.getFeatureSource("test");
but MySQLDataStoreFactory is not recognised. What can I do to fix??? I'm
using geotools 8-snapshot.
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/MySQLDataStoreFactory-cannot-be-resolved-to-a-variable-tp6593901p6593901.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users