When an entity class is final and is mapped as lazy (e.g., using @Proxy, then an exception should be thrown.