Well, i haven't done it yet, but I am pretty sure there is a way.
Please send over a small app (including libs) with your setup so I can have a 
look at it.

Thanks.

Mario

-----Original Message-----
From: "William H. Mitchell" <[EMAIL PROTECTED]>
Date: Saturday, Sep 8, 2007 5:49 am
Subject: Re: Orchestra integration with legacy Hibernate 2 app
To: Reply-    "MyFaces Discussion" <[email protected]>To: "MyFaces 
Discussion" <[email protected]>

Mario,
>
>Thanks for that response to my question about that "Session is closed!" error 
>when trying to use HibernatePersistenceContextFactory (HPCF).
>
>I made my simple test app work by stripping out all the JPA stuff I had, both 
>in the code and the applicationContext.xml, and then using Spring to inject 
>the DAO with a LocalSessionFactoryBean.  Is that the right way to approach it? 
> (Or is that a naive solution, with lurking problems?)
>
>Now I've started looking at making my test app work with Hibernate 2.  Right 
>away I noticed that there's no SessionHolder in Spring's Hibernate 3 support.  
>I see some things further down that may be a problem, too, but my 
>understanding of the machinery is tenuous at best.
>
>Can Orchestra be made to work with Hibernate 2?  ('Sorry to ask this having 
>done so little homework on it...)
>
>William Mitchell
>Mitchell Software Engineering
>
>

Reply via email to