DBResources.java [src/java/cities/utils] Revision: default Date:
package cities.utils;
import csip.annotations.Resource;
import static csip.annotations.ResourceType.JDBC;
import static cities.utils.DBResources.*;
/**
* Last Updated: 30-August-2016
* @author Tyler Wible
* @since 30-August-2016
*/
@Resource(type = JDBC, file = "${cities.db}", id = cities_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 cities_ID = "cities";
}