I am completely new in Hibernate and got such an stacktrace:
hql> from TracksEntity [2014-04-26 21:13:45] org.hibernate.MappingException: Unable to load clas
My mistake was a camel case problem. I had an embedded entity "IndexPK" and wrote "IndexPk" in the mapping file. I compared it ~20 times.... till I figured this out.