Jira issue originally created by user ccapndave:
If clear() is called on an uninitialized PersistentCollection it needs to set the collection to be initialized.
An example of where this can cause problems:
This can return a false positive if the entity was previously in the collection.
Comment created by @beberlei:
Issue was closed with resolution "Fixed"