You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2011/08/30 22:07:37 UTC

[jira] [Resolved] (CXF-1477) Integrate somehow with Hibernate to avoid LazyInitializationException errors

     [ https://issues.apache.org/jira/browse/CXF-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-1477.
------------------------------

       Resolution: Won't Fix
    Fix Version/s: Invalid
         Assignee: Daniel Kulp


This issue is ancient (based on 2.0.x) and since then, there have been many reports of successful usage of CXF and Hibernate on the email lists so I'm fairly confident that the issues have been resolved.   If someone has specific problems with a more recent version of CXF, please log a new issue and provide a testcase.

> Integrate somehow with Hibernate to avoid LazyInitializationException errors
> ----------------------------------------------------------------------------
>
>                 Key: CXF-1477
>                 URL: https://issues.apache.org/jira/browse/CXF-1477
>             Project: CXF
>          Issue Type: Improvement
>          Components: Bus
>    Affects Versions: 2.0.4
>         Environment: Ubuntu Feisty Fawn (7.04)
>            Reporter: Leandro
>            Assignee: Daniel Kulp
>             Fix For: Invalid
>
>         Attachments: AbstractHibernateAccessorPhaseInterceptor.java, HibernateInInterceptor.java, HibernateOutInterceptor.java
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira