Package bin.repast.simphony.freezedry.datasource

Examples of bin.repast.simphony.freezedry.datasource.DBConnectionInfo


      } else {
        password = descriptor.getPassword();
      }

      // check database connection:
      this.dbConInfo = new DBConnectionInfo(username, password, descriptor.getDbURL(), descriptor.getDriverName());
      // validateConnectionSettings();

      LOG.debug("CustomJdbcAppender: dbURL: " + descriptor.getDbURL());
      LOG.debug("CustomJdbcAppender: user: " + username);
      LOG.debug("CustomJdbcAppender: password: " + password);
View Full Code Here


    testConnectionButton = new JButton("Test DB Connection");
    testConnectionButton.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
        DBConnectionInfo dBInfo = new DBConnectionInfo(userNameField.getText(), new String(passwordField
            .getPassword()), urlField.getText(), driverField.getText());
        if (DBUtils.validateConnectionSettings(dBInfo, "")) {
          // store data back to wizard when connection was successful:
          userNameField.setText(dBInfo.userName);
          passwordField.setText(dBInfo.password);
View Full Code Here

TOP

Related Classes of bin.repast.simphony.freezedry.datasource.DBConnectionInfo

Copyright © 2018 www.massapicom. 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.