Note that I am not trying to fix the Exception, I put that in myself to get a stack-trace of the code calling it.
Thing is a @MappedSuperClass, Thing.getLabels() is a vanilla getter (except for the debugging code mentioned above) When I show SQL, it is initializing the List returned by the getter and running the appropriate queries, which is not what I wanted when I marked the relationship to be LAZY.
I hope that clarifies.
[Message sent by forum member 'miklernout' (miklernout)]
http://forums.java.net/jive/thread.jspa?messageID=226388