
com.github.drinkjava2.jdbpro.JDBPRO Maven / Gradle / Ivy
/*
* Copyright 2016 the original author or authors.
*
* 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 com.github.drinkjava2.jdbpro;
import java.util.ArrayList;
/**
* JDBPRO store some public static methods, usually used for static import to
* simplify programming
*
* @author Yong Zhu
* @since 1.7.0.3
*/
public abstract class JDBPRO extends DbPro {
public static final SqlOption USE_MASTER = SqlOption.USE_MASTER;
public static final SqlOption USE_SLAVE = SqlOption.USE_SLAVE;
public static final SqlOption USE_BOTH = SqlOption.USE_BOTH;
public static final SqlOption USE_AUTO = SqlOption.USE_AUTO;
public static final SqlOption USE_TEMPLATE = SqlOption.USE_TEMPLATE;
protected void ________INLINE_Methods________() {// NOSONAR
}
/** ThreadLocal variant cache INLINE methods */
private static ThreadLocal> INLINE_PARAM_CACHE = new ThreadLocal>() {// NOSONAR
@Override
protected ArrayList
© 2015 - 2025 Weber Informatics LLC | Privacy Policy