cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Ross (JIRA)" <>
Subject [jira] Commented: (CXF-1477) Integrate somehow with Hibernate to avoid LazyInitializationException errors
Date Thu, 05 Mar 2009 15:03:56 GMT


Kevin Ross commented on CXF-1477:

I have adapted {{}}
to CXF using interceptors.  We just completed this and it works for us but we have not yet
deployed to production.  This depends on spring-orm (2.5.6 is what we are using).

This may be difficult to include due to external dependencies, I'm not sure about the best

What I can say is that this is a *VERY* common issue and CXF should at least have this in
a contrib or examples section of the codebase, if not a wiki/howto to address the issue.

> Integrate somehow with Hibernate to avoid LazyInitializationException errors
> ----------------------------------------------------------------------------
>                 Key: CXF-1477
>                 URL:
>             Project: CXF
>          Issue Type: Improvement
>          Components: Bus
>    Affects Versions: 2.0.4
>         Environment: Ubuntu Feisty Fawn (7.04)
>            Reporter: Leandro
>         Attachments:,,
> Using Hibernate as a DAO layer will end in LazyInitializationException errors.
> I've tried to define OpenSessionInView filter and mapping it to the same address as the
web service, but with no luck.
> The current workaround is to set the collection with the property lazy="false", which
is not the best solution.
> I'll try to build a tiny example to demonstrate it.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message