You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Leandro (JIRA)" <ji...@apache.org> on 2008/03/14 15:38:24 UTC

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

Integrate somehow with Hibernate to avoid LazyInitializationException errors
----------------------------------------------------------------------------

                 Key: CXF-1477
                 URL: https://issues.apache.org/jira/browse/CXF-1477
             Project: CXF
          Issue Type: New Feature
          Components: Bus
    Affects Versions: 2.0.4
         Environment: Ubuntu Feisty Fawn (7.04)
            Reporter: Leandro
             Fix For: 2.0.5


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.


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

Posted by "Leandro (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leandro updated CXF-1477:
-------------------------

    Issue Type: Improvement  (was: New Feature)

> 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
>             Fix For: 2.0.5
>
>
> 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.