I picked up a Struts2 + hibernate app with sucky performance
and profiling shows that it’s almost all lazy loading pooh. Fully loading the object
graph seems ridicules solution just to have the count of the related collection
loaded.
It’s basically a bunch of reports so creating specific named
queries that pull exactly what the view needs really sounds like the right
solution. But all the little supporting changes rippling through the
application is making me sick to my stomach.