Re: JPA and persistence context

2008-04-04 Thread Nino Saturnino Martinez Vazquez Wael
Okay thanks, sounds a little like youre at the stage im at too. I'll upgrade my spring then... Adam Hardy wrote: I do not use OpenJPA in deployment, because there are some show-stopper issues with it. But I do use it in testing and I'll use it in the future for live sites when the issues are s

Re: JPA and persistence context

2008-04-04 Thread Adam Hardy
I do not use OpenJPA in deployment, because there are some show-stopper issues with it. But I do use it in testing and I'll use it in the future for live sites when the issues are sorted. I use the extended persistence context though. In this case if you don't manage the transactions yourself,

Re: JPA and persistence context

2008-04-03 Thread Nino Saturnino Martinez Vazquez Wael
So I guess no one uses OpenJPA in web applications? Only thing I wanted were some snipplets showing how you did transactions etc in a web application. regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Hi I wonder what best practices are on persistence context when running in a web

JPA and persistence context

2008-04-02 Thread Nino Saturnino Martinez Vazquez Wael
Hi I wonder what best practices are on persistence context when running in a web application(Apache Wicket). Currently my ap are using extended, since it's the only way it works. But I found out why.. When I switch to transaction based after I do changes i need to do tx.begin tx.commit. So