java - Is there an equivalent of views in jpql? -


If I have complex, where only a little bit different between questions, then in SQL, Segment where the scene will make, then ask the scene several times. For both performance and maintenance.

I do not think it's equal in jpql.

Is there anything wrong with the jpql or jpql?

Cheers, Phil

No direct answer, you can see a Is not an entity map? In some cases, SQL visuals are the easiest and most effective solution, especially when the data is read-only, do not just abuse them.


Comments