title: SQl invalid column error. works in sql developer, gives error in java
body: <p>When I run this query : <code>select emp.emp_name as "name" from emp order by name.</code>
  This runs fine from sqldeveloper. But through java, using a hibernate session, this gives an sql :<code>invalid column error.</code>
  Why is this difference in behavior?<br>
  EDIT: The error says Invalid Column :NAME (in upper case) and not name. I will try this:</p>
  
  <p>select emp.emp_name as "name" from emp order by "name"</p>