Lavet setConnectionParameters, static metode i DBConnection