Examples of DatabaseContext


Examples of org.apache.derby.iapi.db.DatabaseContext

      throws StandardException
  {
    restoreToNull();
    if (theValue != null)
        {
            DatabaseContext databaseContext = (DatabaseContext) ContextService.getContext(DatabaseContext.CONTEXT_ID);
            parseTime( theValue,
                       false,
                       (databaseContext == null) ? null : databaseContext.getDatabase(),
                       (Calendar) null);
        }
  }
View Full Code Here

Examples of org.openstreetmap.osmosis.apidb.common.DatabaseContext

                DatabaseConstants.TASK_DEFAULT_DATABASE, DatabaseConstants.TASK_DEFAULT_USER,
                DatabaseConstants.TASK_DEFAULT_PASSWORD, DatabaseConstants.TASK_DEFAULT_FORCE_UTF8,
                DatabaseConstants.TASK_DEFAULT_PROFILE_SQL, DatabaseConstants.TASK_DEFAULT_DB_TYPE);
        credentialsLoader = new AuthenticationPropertiesLoader(getAuthorizationFile());
        credentialsLoader.updateLoginCredentials(credentials);
        return new DatabaseContext(credentials);
    }
View Full Code Here

Examples of org.openstreetmap.osmosis.pgsimple.common.DatabaseContext

   */
  private void initialize() {
    if (dbCtx == null) {
      ActionDao actionDao;
     
      dbCtx = new DatabaseContext(loginCredentials);
     
      new SchemaVersionValidator(dbCtx, preferences).validateVersion(
          PostgreSqlVersionConstants.SCHEMA_VERSION);
     
      capabilityChecker = new DatabaseCapabilityChecker(dbCtx);
View Full Code Here

Examples of org.openstreetmap.osmosis.pgsnapshot.common.DatabaseContext

   */
  private void initialize() {
    if (dbCtx == null) {
      ActionDao actionDao;
     
      dbCtx = new DatabaseContext(loginCredentials);
      jdbcTemplate = dbCtx.getJdbcTemplate();
     
      dbCtx.beginTransaction();
     
      new SchemaVersionValidator(jdbcTemplate, preferences).validateVersion(
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.