public synchronized boolean connect() {
		if(!isConnected()) {
			try {
				Class.forName(Configuration.DatabaseDriver);
				String url = "jdbc:"+Configuration.DatabaseType.name().toLowerCase()+":"+Configuration.DatabaseLocation;
				log.finer("DatabaseConnection: Connecting to "+url );
				connection = DriverManager.getConnection(url);
			} catch (SQLException e) {
				log.log(Level.SEVERE, "DatabaseConnection: Connection failed: "+e.getMessage(), e );
				return false;
			} catch (ClassNotFoundException e) {
				log.log(Level.SEVERE, "DatabaseConnection: Driver nod found: " +e.getMessage(), e );
				return false;
			}
		} else {
			log.finer("DatabaseConnection: already connected");
		}
		return true;
	}