• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Translate int returned by hql(select .class) to Class<?>

 
Serg Smith
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.

I have hql query: "select ord.orderNumber, ordrelaxer.relaxerId, ord.legalPerson.class from Order ord". ord.legalPerson.class return value of type Integer. How can I translate this value to Class<?>?

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic