Spring + Hibernate query that framework implements