Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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.
 
Humans and their filthy friendship brings nothing but trouble. My only solace is this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!