Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 772DD8974 for ; Tue, 30 Aug 2011 20:08:02 +0000 (UTC) Received: (qmail 39866 invoked by uid 500); 30 Aug 2011 20:08:02 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 39822 invoked by uid 500); 30 Aug 2011 20:08:01 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 39813 invoked by uid 99); 30 Aug 2011 20:08:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 20:08:01 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 20:07:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DC423D7088 for ; Tue, 30 Aug 2011 20:07:37 +0000 (UTC) Date: Tue, 30 Aug 2011 20:07:37 +0000 (UTC) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Message-ID: <592529115.9002.1314734857898.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CXF-1477) Integrate somehow with Hibernate to avoid LazyInitializationException errors MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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