Reputation: 6815
I just went through below link.
what is the advantage of using JPAMetaModelEntityProcessor
?
Thanks!
Upvotes: 3
Views: 4174
Reputation: 4196
In short, having a meta model of your entities available at compile time helps you reduce the number of run-time errors.
Specifically, with a meta model you may (list is by far not exhaustive)
Cf. Dynamic, typesafe queries in JPA 2.0 and Spring Data JPA
Upvotes: 5