public static Sql newInstance ( String url , String user , String password ) throws SQLException { Connection connection = DriverManager . getConnection ( url , user , password ) ; return new Sql ( connection ) ; }
Creates a new Sql instance given a JDBC connection URL a username and a password .