Re: JPA and persistence context

2008-04-04 Thread Nino Saturnino Martinez Vazquez Wael
h, I'm not sure Spring v2.0.1 is late enough. HTH Adam Nino Saturnino Martinez Vazquez Wael on 03/04/08 12:27, wrote: 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

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

Re: JPQL query not working..?

2008-04-01 Thread Nino Saturnino Martinez Vazquez Wael
= t5.id LIMIT ?, ? [params=(long) 0, (long) 40] So this is the values that I put in, its the two parameters I guess. search : where ex.id IN (73637,73639) -Patrick [1] http://quaere.codehaus.org/ On Tue, Apr 1, 2008 at 5:10 AM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]>

Re: How to diagnose rather cryptic error messages

2008-04-01 Thread Nino Saturnino Martinez Vazquez Wael
Hmm, could you provider the persistance.xml? David Goodenough wrote: I am relatively new to JPA, and trying to get to grips with what I can and can not do with it. So I thought I would try creating a small system (which will grow) which has amongst other things User objects and Role objects in

JPQL query not working..?

2008-04-01 Thread Nino Saturnino Martinez Vazquez Wael
Hi Im a newcommer both to JPA and OpenJPA. I've used hibernate previously as a provider, but found their error messages lacking a lot (almost impossible to work with). OpenJPA are how it's supposed to be:) Now you only need a criteria api like hibernates:) However I have a JPQL query which d