Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Hibernate 3.0.5
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Hi,
I'm just curious with this HQL statement
select (20 + 10) - (10 + 10) from BdpInTransitBlncItems A
In normal sql statement, this will result in 30 - 20 == 10, but the result from hql is 30. It is as if the parantheses dont work.
Please guide mee...