HHH-8351 - Resolve java types for generic classes ( jpa annotations )