hibernate, jaxb, statistics and bugfix