Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » LazyInitializationException with JAXB
LazyInitializationException with JAXB [message #760920] Mon, 05 December 2011 10:32
Troy Doty is currently offline Troy Doty
Messages: 2
Registered: December 2011
Junior Member
I did not see a MOXy specific subforum, so forgive me if this is not in the correct place...

We had been using the reference implementation of JAXB, but it did not provide support for a null policy (at least that I was able to find). MOXy does provide such a solution. However, I was unable to find a similar solution for this problem (when using MOXy): (missing protocol since I can't post links yet) blogs.oracle.com/searls/entry/jaxb_custom_accessor_for_marshalling

We are using Hibernate for our JPA provider (at least for now) and this solution was already in place to handle our lazy init exceptions. Using MOXy with Hibernate, is there a similar workaround for this issue? Basically we don't want lazy init exceptions for JAXB mapped properties/fields that were not fetched.

Any ideas are welcome.

Thanks
Previous Topic:TableGenerator and Default-Value pkColumnValue
Next Topic:LazyInitializationException with JAXB
Goto Forum:
  


Current Time: Thu Jul 31 23:55:31 EDT 2014

Powered by FUDForum. Page generated in 0.02031 seconds