From my point of view this is a bug because the implementation does not satisfy the example that I have cited above. Hibernate loads definitely more than the number attribute.