Sorry for responding lately. (Your last mail was the only one that reached my mailbox for some reason...)


2015-04-30 13:10 GMT+02:00 Max Rydahl Andersen <manderse@redhat.com>:
Bastian - did you get your problem solved ?

> On 20 Apr 2015, at 20:01, Alexey Kazakov wrote:
>
>> First at all, please create an issue in
>> https://issues.jboss.org/browse/JBIDE to solve this problem in the
>> next release.
>> A pull request for https://github.com/jbosstools/jbosstools-hibernate
>> would be useful too :)
>
> please note that we are really trying to limit exposing any of hibernate
> internal runtime API's to support multiple versions of Hibernate. Thus
> if this break that we won't be able to do it.
>

I strongly agree with that! On the other hand, the HqlParser (from package org.hibernate.hql.ast) itself is exposed; wouldn't it then be consquent to also expose its required libraries for external usage?
 
> What is your plugin trying to do that needs this level of access ?
>

My tool uses the HqlParser from the Eclipse Libs to get information about the query's referred entities, referred fields etc. It uses these information for some further verification; e.g. whether named parameters exist / are used correctly.

Bastian