Package org.aavso.tools.vstar.input.database

Examples of org.aavso.tools.vstar.input.database.AAVSODatabaseConnector.createConnection()


      // done so.
      Mediator.getUI().getStatusPane().setMessage(
          LocaleProps.get("STATUS_PANE_CONNECTING_TO_DATABASE"));

      AAVSODatabaseConnector vsxConnector = AAVSODatabaseConnector.vsxDBConnector;
      Connection vsxConnection = vsxConnector.createConnection();

      // TODO: this should always be populated by VSX methods below!!
      // (e.g. to get period, epoch, variable/spectral type, discoverer).
      StarInfo starInfo = new StarInfo(starName, auid);
View Full Code Here


      // - Obs stmt creation and param setting should be a single
      // operation to avoid possible mismatched calls! Either that
      // or remove stmt parameter from parameter setting method.

      AAVSODatabaseConnector obsConnector = AAVSODatabaseConnector.observationDBConnector;
      Connection obsConnection = obsConnector.createConnection();

      PreparedStatement obsStmt = null;

      if (minJD == 0 && maxJD == Double.MAX_VALUE) {
        obsStmt = obsConnector
View Full Code Here

    try {
      getParent().setCursor(
          Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));

      AAVSODatabaseConnector vsxConnector = AAVSODatabaseConnector.vsxDBConnector;
      Connection vsxConnection = vsxConnector.createConnection();

      StarInfo starInfo = vsxConnector.getAUID(vsxConnection, starName);
      auid = starInfo.getAuid();

      getParent().setCursor(null);
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.