Hibernate QBE ignores ID fields. In tables composed of composite IDs (in our case it was Middlegen generating from VIEWs), any values set in the example will be ignored as if it were a primary ID. The users example WHERE statement becomes WHERE(1=1), even if a value had been set on all fields.
The ignoring of ID fields makes sense for simple primary keys, but composite IDs create surprises.
Working in Windows XP, using Oracle bio10g