Package org.jamesii.perfdb

Examples of org.jamesii.perfdb.DatabaseAccessException


  public List<IProblemDefinition> getAllProblemDefinitions(IProblemScheme model) {
    try {
      return Generics.changeListType(perfDB.getSimulationProblem()
          .lookUp(model));
    } catch (SQLException e) {
      throw new DatabaseAccessException(e);
    }
  }
View Full Code Here


  @Override
  public IRuntimeConfiguration getRuntimeConfig(SelectionTree selectionTree) {
    try {
      return perfDB.getRuntimeConfiguration().lookUp(selectionTree);
    } catch (Exception e) {
      throw new DatabaseAccessException(e);
    }
  }
View Full Code Here

      SelectionTree selectionTree, boolean newVer) {
    RuntimeConfiguration rtConfig = new RuntimeConfiguration(selectionTree);
    try {
      rtConfig.create();
    } catch (SQLException e) {
      throw new DatabaseAccessException(e);
    }
    return rtConfig;
  }
View Full Code Here

      IProblemDefinition simProb) {
    try {
      return Generics.changeListType(perfDB.getRuntimeConfiguration().lookUp(
          simProb));
    } catch (Exception e) {
      throw new DatabaseAccessException(e);
    }
  }
View Full Code Here

          new SimulationProblem(resultSet.getLong(COLUMN_INDEX_SIM_PROB_ID)),
          new FeatureType(resultSet.getLong(COLUMN_INDEX_FEAT_TYPE_ID)),
          (Map<String, Serializable>) SerialisationUtils
              .deserializeFromB64String(resultSet.getString(COLUMN_INDEX_VALUE)));
    } catch (SQLException | IOException | ClassNotFoundException e) {
      throw new DatabaseAccessException(e);
    }
  }
View Full Code Here

TOP

Related Classes of org.jamesii.perfdb.DatabaseAccessException

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.