Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] EclipseLink - HermesParser.buildException when compiling JPQL Query

Thanks for the quick response - shall I file a separate ticket for this or will you do that?

Do you recommend using the old parser or are you planning to fix this for Juno?

Best regards,
MarkusT

On 14.05.2012 16:39, Tom Ware wrote:
We have just changed our JPA parser.  We will look into this issue soon.

In you need to, you can enable the old parser with this persistence unit property:

eclipselink.jpql.parser=org.eclipse.persistence.queries.ANTLRQueryBuilder

On 14/05/2012 10:20 AM, Markus Tiede wrote:
Hello,

we, the Jubula team, are currently experiencing problems working with
EclipseLink 2.4.0 in our standalone version of "Eclipse for Testers"
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=379221).

We get a JPQL exception thrown by the HermesParser when trying to compile one of
our JPQL queries (in 2.3.2 this works without any problems):

The basic mapping 'compName.hbmGuid' cannot be used in conjunction with the =
operator. (Exception Description: Problem compiling [select assoc from
ObjectMappingAssoziationPO as assoc, CompIdentifierPO as compId, ComponentNamePO
as compName join assoc.logicalNames as logicalName where logicalName =
compName.hbmGuid and logicalName = :compNameGuid and assoc.technicalName =
compId and compName.hbmParentProjectId = :parentProjectId]).

Does anyone else face such problems and know how to resolve them? Is this a newly introduced feature / bug fix which requires adjustments of JPQL queries in
general?

With best regards,
MarkusT
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users




Back to the top