In fact, looking at the stack trace that is there... it actually looks like its your code that is preparing the SQL here, not Hibernate...