conf.addClass(Name.class);
conf.addClass(Körperschaft.class);
conf.addClass(Schlagwort.class);
Compass compass = conf.buildCompass();
CompassGps gps = new SingleCompassGps(compass);
CompassGpsDevice jpaDevice = new JpaGpsDevice("jpa", entityManagerFactory);
gps.addGpsDevice(jpaDevice);
gps.start();
gps.index();
} catch (IOException e) {
e.printStackTrace();
}
}