Package gistoolkit.datasources.mysql

Examples of gistoolkit.datasources.mysql.ReadOnlyMySQLDataSource.connect()


        tempDatasource.setDatabaseShapeColumn(myTextFieldDatabaseColumn.getText());
        tempDatasource.setDatabaseSpatialReferenceID(myTextFieldSpatialReferenceID.getText());
        tempDatasource.setDatabaseQuery(myTextFieldDatabaseQuery.getText());

        // connect to the datasource.
        tempDatasource.connect();
        tempDatasource.setName(myTextFieldDatabaseName.getText());
       
        // save the configuration information.
        System.getProperties().setProperty(Constants.getApplicationName()+"."+SERVERNAME_TAG, tempDatasource.getDatabaseServername());
        System.getProperties().setProperty(Constants.getApplicationName()+"."+DATABASENAME_TAG, tempDatasource.getDatabaseName());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.