tags:

views:

215

answers:

0

In SQL I can perform the following

select 10000 as num

Can I do something similar in hql.

I know it sounds like a strange request. I do not want to use the Criteria api, and I don't have access to the query, I can only pass an hql string to a method that will then perform the query for me.