Arregle el error de ClassCastException SingleTableSubclass cannot be cast to org.hibernate.mapping.RootClass