private void loadDriver() {
		if (driverLoaded)
			return;

		try {
			// The newInstance() call is a work around for some
			// broken Java implementations

			Class.forName("com.mysql.jdbc.Driver").newInstance();

			driverLoaded = true;
		} catch (Exception ex) {
			// handle the error
			ex.printStackTrace();
		}
	}