Hi,
If I have a complex where clause which varies only slightly between many queries, in SQL I would create a view based on most of the where clause, then query the view multiple times. Both for performance and maintainability.
I don't see an equivalent of that in jpql.
Am I or the jpql spec. missing something?
Cheers, Phil