ObjectDB ObjectDB

KEY() / VALUE() not recognized in JPQL??

#1

Hi!

Explorer says "unexpected token" on KEY(..:

SELECT FROM individual.IndividualContact $1 LEFT OUTER JOIN $1.profile.title.name m
WHERE (KEY(m) = 'deu' AND VALUE(m) LIKE '%Dr%')

profile = embedded entity

title = referenced entity

name = Map<String, String>

 

thanks,

Alex

edit
delete
#2

Yes, this is one of the last JPA 2 features that are still unsupported (issue #13).

ObjectDB Support
edit
delete

Reply

To post on this website please sign in.