I typically just use the getters to populate xml via databinding,
though you may have luck with JiBX - look at those docs on its main
site as they talk a bit about hibernate.

HTH,
Robert

On 8/21/07, Steve S <[EMAIL PROTECTED]> wrote:
> Has anyone tried to return a Hibernate detached object in an Axis2 web
> service? I have an object with lazy-loaded collections of objects. When I
> try to call the web service, I get a LazyInitializationException because the
> serializer (Axiom? StAX?) is trying to iterate over the collection. What I
> need is a way to skip the attribute if it is a PersistentSet that hasn't
> been initialized.  I suspect that the actual coding is pretty simple, the
> trick is figuring out where to put it, and how to get Axis to use it.
>
> Does anyone have any ideas?
>
> Thanks,
>
> Steve
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to