Home » Support » Forum » ObjectDB Explorer query error: Unexpected query token 'value'

ObjectDB Explorer query error: Unexpected query token 'value'

#1

Hi,

my entity is named "XXXValue": this has several attributes, one of these is "value". In query tab, if I do "select value from XXXValue", I get the error <Unexpected query token 'value'>. I try  "select XXXValue.value from XXXValue" and the error is the same. Queries on others attributes work fine. 

Thanks!

#2

Please try:

SELECT v.value FROM XXXValue v

or

SELECT this.value FROM XXXValue
ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login