I need to specify a Index hint for my HQL
Query.setComment()
method is of no use as it is appending the hint before the select clause,
though this can be achieved by NativeSQL but I just wanted to check is there a way we can achieve this in HQL rather then SQL
As per My understanding there is no support for specifying index hints in HQL currently as of version 3.6.5
though this can be achieved by specifying @NamedNativeQueries or by calling CreateSQLQuery() on query interface