Reputation: 1544
I have created a new jhipster project v4.13.3.
When creating a entity e.g.:
jhipster entity Employee
And selecting Dynamic filtering for the entities with JPA Static metamodel
An EmployeeQueryService class is subsequently created.
When looking in this class at the createSpecfication method, there are entries like this:
(buildStringSpecification(criteria.getFirstName(), Employee_.firstName));
Employee_ as far as I can tell is not defined anywhere and Intellij reports "cannot resolve symbol".
Running mvn
, no errors are reported and the app runs fine.
Am I missing something?
Thanks
Upvotes: 0
Views: 1037
Reputation: 16284
As documented, JPA static metamodel is generated by an annotation processor at build time. Maven knows about it, your IDE doesn't.
Upvotes: 1