public Conexion() {
        try {
            Class.forName(driver);
            conn=DriverManager.getConnection(url,login,password);
            if(conn!=null) {
                System.out.println("CONECCION A BASE DE DATOS EXITOSA");
            }             
        } catch (ClassNotFoundException e) {
            System.out.println(e);   
        } catch (SQLException e) {
            System.out.println(e);
        }
    }