title: What class in Hibernate generates the SQL statements that gets logged?
body: <p>I'm having trouble with an <code>ObjectNotFoundException</code> where Hibernate appears to be performing a <code>select</code> statement where I didn't expect it too, due to lazy loading being true. I suspect something to do with AOP, but I can't change anything since I'm using someone else's framework.</p>
  
  <p>I was thinking of putting a breakpoint in the place where the select statement gets generated into my log, that way I can see who's triggering it. What's the Hibernate class I should be setting breakpoints on?</p>