Hi, this can't really be a bug, if I understood your issue you have some problems in your environment settings.
your code compiles, right? This means that when you are compiling your sources you have a hibernate version on your classpath containing a org.hibernate.Query HAVING the method.
It is possible that you are missing this method on the environment where you run you compiled code; so you should check you have the same hibernate versions in your developer environment (ide?) and your testing/staging/production.
Quote:
I am constrained to use the version provided
That's possible, but you have to define ONE version; of course if the provided version is "old" you may lack some features.
kind regards