/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package acmeproject;

/**
 *
 * @author edsonjunior
 */

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

public class ConnectionFactory {
	public static Connection getConnection(String db, 
			String user, String pass) throws SQLException {
		return DriverManager.getConnection(db, user, pass);
	}
}
