RC12 - Error when using where clause in jpasql - Bug ? #28
Unanswered
sgiegerich
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Hello, You have to enable the annotation processing of the IDE. You will find this settings within the maven settings of the IDE. In the next release the annotation processing will be enabled by default. Greetings |
Beta Was this translation helpful? Give feedback.
1 reply
-
As far I understand, the annotations are handled and processed with differtend frameworks. The result in the end should be the same. But as you can read within the brackets, the build may differ. I personally use "experimental" all the time with no problems so far. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I currently use 12.0.0 for beta testing ...
I found out that I can not write jpa sqls cointaining a "where clause" !
If I try to use any "where clause" inside the jpasql Editor of an Entity DAO, I get the following error when I try to save the sql file:

Error while generating criteria code.
Missing metamodel type for EntityName
... and no code will be generated in the DAO Java Implementation File !
Without the "where clause", everything works as expected.
Is something missing ... e.g. an annotation in the Entity ?!
Is it a bug ?
Can I do anything to fix it ?
Beta Was this translation helpful? Give feedback.
All reactions