I'm intrigued by per param, would it be something like
or something defined in the query metadata (JPA annotations will make it unintuitive to add such metadata, you will need some ad-hoc annotation on the side) About the global level, history tends to tell us that in these 50/50 cases, people like the global Session Facotry setting to change the default. |