Package com.eatle.db

Source Code of com.eatle.db.Configurations

/**
*/
package com.eatle.db;

import java.sql.Connection;
import java.sql.SQLException;

import com.eatle.exception.DBException;

/**
* @Title:
* @Description:
* @Author:asus
* @Since:2012-6-18
* @Version:1.1.0
*/
public class Configurations {

     /**
      * @Description:
      * @return
     * @throws SQLException
      */
     public static Connection getConnection(){
         try {
            return DBManager.getConnection();
        } catch (SQLException e) {
            throw new DBException(e);
        }
     }

}
TOP

Related Classes of com.eatle.db.Configurations

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.