Top.Mail.Ru
January 29th, 2008 - Java developers — LiveJournal
? ?

Java developers

January 29th, 2008
Image

10:36 pm - Imagesamadhee - Don't mess your JPADAO with named queries stuff

Let's say I have tones of named queries through all my entities. These queries have one/two or more named parameters in conditional expression.
The common way to encapsulate my named query lookup in my JPADAO is something like this:

Powered by LiveJournal.com
Image