DBResources.java [src/java/d/crp/database] Revision: 57250261f8dd22e26a3b05bbd9b109c64c04d323 Date: Fri Dec 06 13:37:31 MST 2019
/*
* $Id$
*
* This file is part of the Cloud Services Integration Platform (CSIP),
* a Model-as-a-Service framework, API, and application suite.
*
* 2012-2017, OMSLab, Colorado State University.
*
* OMSLab licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
*/
package d.crp.database;
import csip.annotations.Resource;
import static csip.annotations.ResourceType.JDBC;
import static d.crp.database.DBResources.*;
/**
*
* @author Shaun Case
*/
@Resource(type = JDBC, file = "${soils.gis.database.db}", id = LOCAL_SQLSERVER, env = {
"removeAbandoned=true", "defaultReadOnly=true", "defaultAutoCommit=false", "maxWait=300000", "jmxEnabled=false",
"jdbcInterceptors=org.apache.tomcat.jdbc.pool.interceptor.ConnectionState;"
+ "org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer;"
+ "org.apache.tomcat.jdbc.pool.interceptor.ResetAbandonedTimer"
})
public interface DBResources {
static final String LOCAL_SQLSERVER = "csip.soils.sqlsvr";
}