DBResources.java [src/java/huc/utils] Revision: default  Date:
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package huc.utils;

import csip.annotations.Resource;
import static csip.annotations.ResourceType.JDBC;
import static huc.utils.DBResources.*;

/**
 *
 * @author ktraff
 */
@Resource(type = JDBC, file = "${huc.db}", id = HUC_ID, env = {
    "removeAbandonedTimeout=30",
    "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 HUC_ID = "huc";
}