This is returning an javaassist lazy proxy instance, rather than the fully initialized Child instance I'd expect
well, the fact that you get back a javaassist proxy instance, does not mean that it must be also uninitialized.
I guess it is initialized as the specification says.
Please try to put following code at the end and let us know the output:
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
Hi Bryan,
well, the fact that you get back a javaassist proxy instance, does not mean that it must be also uninitialized.
I guess it is initialized as the specification says.
Please try to put following code at the end and let us know the output:
System.out.println("isUninitialized: " + ((HibernateProxy)c).getHibernateLazyInitializer().isUninitialized();