Possibility to convert hibernate entities to POJOs
--------------------------------------------------
Key: HHH-3457
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3457
Project: Hibernate3
Issue Type: Improvement
Reporter: Anton Kuzmin
Attachments: killLazyInitializationException.java
In the project I am working on I need to convert some hibernate entities to xml using
castor marshaller. At some point I encountered a problem with LazyInitializationException
when castor read the fields that were not initialized.
Initializing these fields is not acceptable since it would be a serious performance hit.
I think there should exist a possibility to convert a hibernate entity to a POJO or to
force initialization of lazy collections and proxies (what I did in attached workaround
killLazyInitializationException.java)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira