This error means much more than you think. Every single criteria query "SELECT x FROM Entity x WHERE x.id IN (...)" lands in QueryPlanCache as an HQLQueryPlan instance, eventually thrashing legit HQLQueryPlan instances and causing GC pain (witl long IN clauses). |