
jetbrick.dao.jdbclog.JdbcLogSupport Maven / Gradle / Ivy
/**
* Copyright 2013-2014 Guoqiang Chen, Shanghai, China. All rights reserved.
*
* Email: [email protected]
* URL: http://subchen.github.io/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package jetbrick.dao.jdbclog;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.UndeclaredThrowableException;
import java.util.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Base class for Wrapper to do logging
*/
public class JdbcLogSupport {
protected static final Logger log = LoggerFactory.getLogger(JdbcLogSupport.class);
protected static int nextId = 1000;
protected static final Set SET_METHODS = new HashSet();
protected static final Set GET_METHODS = new HashSet();
protected static final Set UPDATE_METHODS = new HashSet();
protected static final Set MOVE_METHODS = new HashSet();
protected static final Set EXECUTE_METHODS = new HashSet();
protected static final Set RESULTSET_METHODS = new HashSet();
protected int id = getNextId();
protected List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy