title: Add Oracle leading hint to HQL query
body: <p>i want to add Leading hint to my hql query but , this hints will be like this leading(a alias name), in hibernate i dont know what the alias will be in sql , how can i do this ? </p>
  
  <pre><code> String hql="select s.id from " + StoreHouseInventoryItem.class.getName() + "s ,"+ Storehouse.class.getName() +" ss "
  </code></pre>
  
  <p>i want to add leading hint to this query and i don't know hibernate aliases for these 2 table , and leading needs alias . </p>
  
  <p>hibernate will generate sql like this : </p>
  
  <pre><code>select storeHouse0_.id  from app_item storeHouse0_ 
  , app_str storeHouse1_
  </code></pre>