> BTW I understand why generated SQL statements may contain some > redundant stuff, but Jon's example seemed to me to be really > too strange :-)
No, it is an optimisation used to pre-fetch some instances in a CMP internal cache. An explicit where clauses to choose concerned XID is necessary in this case. ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user