[jbosstools-dev] antlr packages and lib not exported in Hibernate Tools 4.0.1
Bastian Ugimachi
bastian.ugimachi at gmail.com
Tue May 12 05:22:57 EDT 2015
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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbosstools-dev/attachments/20150512/06d3c3fa/attachment.html
More information about the jbosstools-dev
mailing list