Brett Meyer commented on Bug HHH-7629

Ricardo Martinelli de Oliveira, I'm a little confused by the code example. Is 'entity' the collection, or aProperty's parent entity?

Normally, I'd expect something like this:

Foo entity = session.get(Foo.class, id);
Hibernate.initialize(entity.getAProperty());
or
((PersistentCollection) entity.getAProperty()).forceInitialization();

Can the customer give any more code examples? A full test-case would be really helpful. Thanks!

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira