@Override
	public void init(Properties prop) {
		this.prop = prop;
		
		System.out.println("Einstellungen:");
		prop.list(System.out);

		/*
		 * Herstellung der Datenbankverbindung.
		 */
		try {
			this.dbCon = new DatabaseConnection();
			this.dbCon.connect("con", prop);
			
			sessionFactory = (new Configuration()).configure().buildSessionFactory();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}