Skip to content
Advertisement

HQL unexpected AST node: :

My code is failing to inject the below repository. Based on the stack trace, it seems my HQL syntax is invalid, but I’m not sure what I’ve done wrong.

JavaScript

stack trace:

JavaScript

Update: I’m also getting this error with this query:

JavaScript

I updated my versions to the latest:

JavaScript

Update: I’m also getting this error with:

JavaScript

Advertisement

Answer

Sadly, you cannot do :order.inProduction (or :foo.bar in general). Reference.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement