Package org.quartz.impl.jdbcjobstore

Examples of org.quartz.impl.jdbcjobstore.SimpleSemaphore


    try {
      String productName = JdbcUtils.extractDatabaseMetaData(this.dataSource, "getDatabaseProductName").toString();
      productName = JdbcUtils.commonDatabaseName(productName);
      if (productName != null && productName.toLowerCase().contains("hsql")) {
        setUseDBLocks(false);
        setLockHandler(new SimpleSemaphore());
      }
    }
    catch (MetaDataAccessException ex) {
      logWarnIfNonZero(1, "Could not detect database type. Assuming locks can be taken.");
    }
View Full Code Here


          "getDatabaseProductName").toString();
      productName = JdbcUtils.commonDatabaseName(productName);
      if (productName != null
          && productName.toLowerCase().contains("hsql")) {
        setUseDBLocks(false);
        setLockHandler(new SimpleSemaphore());
      }
    } catch (MetaDataAccessException e) {
      logWarnIfNonZero(1, "Could not detect database type.  Assuming locks can be taken.");
    }
View Full Code Here

TOP

Related Classes of org.quartz.impl.jdbcjobstore.SimpleSemaphore

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.