[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipselink-users] possible issue updating from v2.3.3 to v2.4.0
|
Hi Phillip,
Please file a bug with your initial problem.
-Tom
On 13/09/2012 3:30 PM, Phillip Ross wrote:
OK, I tried nightly build from the 13th and the problem still
persists. Lots of other problems too which I would expect from
nightly builds.
Using 2.4.0 with the ANTLRQueryBuilder property gets me back up and
running though.
Thanks again!
- Phillip
On Thu, Sep 13, 2012 at 2:03 PM, Phillip Ross
<phillip.w.g.ross@xxxxxxxxx> wrote:
Thanks Tom! I'll try these.
On Thu, Sep 13, 2012 at 1:15 PM, Tom Ware<tom.ware@xxxxxxxxxx> wrote:
Hi Phillip,
I can't see anything wrong with your query. There have been a number of
fixes since 2.4.0 in the new parser. It would be worth trying a recent
2.4.1 build to confirm you are still seeing a problem:
http://www.eclipse.org/eclipselink/downloads/nightly.php
You can also work around the issue by reverting to the old parser using
the following persistence property.
eclipselink.jpql.parser=org.eclipse.persistence.queries.ANTLRQueryBuilder
-Tom
On 13/09/2012 1:08 PM, Phillip Ross wrote:
Hi all, I'm testing v2.4.0 of eclipselink and the first issue I run
into is an NPE in a hermes parser class. Just to start
troubleshooting I wanted to see if maybe my query is incorrectly using
a query expression that has a problem that 2.3.x was more forgiving
about.
I have an entity (Product) with an element collection map:
@ElementCollection protected Map<String, String> localizedNames;
(The property is protected probably because it uses an inheritance
strategy and classes which extend it.)
Here is the query declaration:
@NamedQuery(name="Product.findByLocalizedName", query="select p from
Product p join p.localizedNames m where key(m)=:language and
value(m)=:name")
Does this appear to have any obvious problems I might be missing?
Thanks
- Phillip
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users