All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.frameworkset.common.poolman.JDBCTemplate Maven / Gradle / Ivy

Go to download

bboss is a j2ee framework include aop/ioc,mvc,persistent,taglib,rpc,event ,bean-xml serializable and so on.http://www.bbossgroups.com

The newest version!
/*
 *  Copyright 2008 biaoping.yin
 *
 *  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.frameworkset.common.poolman;


import com.frameworkset.common.poolman.util.DBOptions;

/**
 * 
 * 
 * 

Title: JDBCTemplate.java

* *

Description:事务执行模板类, 提供执行数据库操作的模板方法,该方法无返回值 * 该模板方法将方法中的所有数据库操作涵盖在一个数据库事务中 *

* @see com.frameworkset.common.poolman.TemplateDBUtil中的方法 * public static void executeTemplate(JDBCTemplate template) throws Throwable *

Copyright: Copyright (c) 2007

* *

* bboss workgroup *

*

* Copyright (c) 2007 *

* * @Date 2009-6-1 下午08:58:51 * @author biaoping.yin * @version 1.0 */ public interface JDBCTemplate { /** * 用来实现需要控制的数据库事务的数据库操作 * @throws Exception */ public void execute() throws Exception; /** * 用来实现需要控制的数据库事务的数据库操作 * @throws Exception */ public void execute(DBOptions dbOptions) throws Exception; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy