Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] possible issue updating from v2.3.3 to v2.4.0

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


Back to the top