openjpa « Transaction « JPA Q&A





1. can OptimisticLockException occur if app srv Isolation level is set to READ COMMITTED?    stackoverflow.com

I am using Websphere application server 7.0.0.0.9 with ;OpenJPA 1.2.3-SNAPSHOT'. I have Set property of jdbc data source webSphereDefaultIsolationLevel=2 (READ COMMITTED). I have this question because My understanding is the OptimasticLockException ...

2. Autocommit OpenJPA writes    stackoverflow.com

I'm using OpenJPA and want to configure it to use Autocommit on every write/insert operation. At the moment I have to do this:

        MyEntity e ...

3. org.apache.openjpa.persistence.EntityExistsException in jpa    stackoverflow.com

I have a JTA transcation which manages transaction of 2 databases A and B.Now inside jta transcation i have a method that return a entity from db A.How i want ...

4. JPA 2 with managed transactions not persisting object    stackoverflow.com

I'm using the OpenJPA implementation of JPA 2 and am having problems persisting an object to the database. I want to use transactions managed by the container (Websphere), so my understanding ...

5. openjpa throws optimisticklockexception    stackoverflow.com

I am trying openjpa and jpa. All I have is one entity class as corresponding table in the database. one of the attributes of the entity is username and corresponding row ...

6. Automatic Transactions in OpenJPA    stackoverflow.com

I have a class, Location. Location contains a List of BorderPoint objects, but it can be a HUGE list (20,000 is not impossible). The tables for this are LOCATION and BORDERPOINT. I ...

7. OpenJPA Transaction Exception    stackoverflow.com

I am trying to persist members of a class, BorderPoint. After persisting a certain number of objects, openJPA throws the following exception: [ERROR] org.apache.openjpa.persistence.ArgumentException: Attempt to assign id "0" to new ...

8. How to disable the lock system of JPA?    stackoverflow.com

I'm using OpenJPA and I have a lock problem. I already understand what's an OptimisticLockException and when it's thrown. But how can I deal with it ? Below*, you can find a small ...

9. How to deal with locks (JPA)?    stackoverflow.com

According to the Java Persistent/Locking wikibooks*, the best way to deal with locks is to report the Optimistic Lock Error/Exception to the user. The problem is that it's not ...





10. Problem with JTA transactions and OpenJPA    coderanch.com

Hello, I'm writing a little test application with JSF, CDI, EJB and JPA on JBoss 7. I have a JSF view, the backing bean holds a reference to an EJB which is injected. The EJB gets an EntityManager by injection creates and persists some data. I'm using OpenJPA 2.1.0 with a datasource defined in JBoss 7. The problem is that I ...

11. Optimistic Locking Exception in OpenJPA    forums.oracle.com