fitgoodies-db-jdbc/src/main/java/de/cologneintelligence/fitgoodies/database/SetupHelper.java
public static void setProvider(final String driverName) throws Exception {
		Driver driver = (Driver) Class.forName(driverName).newInstance();
		Enumeration<Driver> drivers = DriverManager.getDrivers();
		while (drivers.hasMoreElements()) {
			if (drivers.nextElement().getClass().equals(driver.getClass())) {
				return;
			}
		}

		DriverManager.registerDriver(driver);
	}
public static void setProvider(final String driverName) throws Exception {
		Driver driver = (Driver) Class.forName(driverName).newInstance();
		Enumeration<Driver> drivers = DriverManager.getDrivers();
		while (drivers.hasMoreElements()) {
			if (drivers.nextElement().getClass().equals(driver.getClass())) {
				return;
			}
		}

		DriverManager.registerDriver(driver);
	}
Sets the database driver. {@code driverName} must be a fully
qualified class name and the class must be in java's class path.
Unless the driver is already registered, {@code setProvider}
registers it at the {@code java.sql.DriverManager}.

@param driverName fully qualified class name of a {@code java.sql.Driver}.
@throws Exception thrown if the class could not be found, casted or
registered.