RJack, Can you provide a bit more information on what your operating environment is? Are you using application-managed persistence contexts? Or, container-managed? Are you using base WebSphere v6.1, v6.1 + EJB3 Feature Pack, or v7?
You should not require any additional properties to get this running. Except maybe for some Connection-related properties. Since JPA is optimistic by default, you should not set the LockManager to pessimistic -- unless your application requires this extension. Being both an OpenJPA and WebSphere advocate, I would be interested in understanding why you are having difficulties getting this combination to run. It should not be this difficult. Thanks for your help in making these products better. Kevin On Tue, Oct 28, 2008 at 12:43 PM, rjack <[EMAIL PROTECTED]> wrote: > > Folks, > > I got it to work using Oracle 10g. > > Robert Jackson > > rjack wrote: > > > > Folks, > > > > > > I've been trying to get JPA to work with WebSphere. I'm not having any > > success. > > > > Derby - 5 minutes to get going in Weblogic > > MS SQL Server - 10 minutes to get going in Weblogic > > > > I spent 2 days trying to get either working in WebSphere with no success. > > > > Openjpa keeps complaining about pessimsitic locking and other stuff. > > > > I tried adding these lines to my persistence.xml file: > > > > <properties> > > <property name="openjpa.Optimistic" value="false"/> > > <property name="openjpa.LockManager" > value="pessimistic"/> > > </properties> > > > > > > I would love to get it working with a Derby Server. > > > > Any ideas... > > > > Robert Jackson > > > > -- > View this message in context: > http://n2.nabble.com/OpenJPA-on-WebSphere-tp1387725p1389637.html > Sent from the OpenJPA Users mailing list archive at Nabble.com. > >