1. Aren't multiple transactions supposed to concur with em.getTransaction()? stackoverflow.comWhen I execute:
following an active transaction started in the same way, I get the following exception:
|
2. How to setup a JTA data source in EclipseLink/JPA 2.0 in an Java EE 6 application for derby embedded database? stackoverflow.comI am not able to find ecbDB JTA data source in the unit test. For RESOURCE_LOCAL the same persistence.xml works. Only within an EJB container it fails to locate a JTA data ... |
3. JPA Update Query -- Why won't my transaction work? stackoverflow.comI am having a performance problem with JavaDB (Derby) writing transactions. Each transaction takes more than 500ms and I might have hundreds of thousands a day. I am expecting ... |
4. Row Locking Problem with Derby forum.hibernate.orgI seem to have got it working. I moved "session.flush()" to just BEFORE tx.commit(); I thought the documentation said that the tx.commit() would flush the session for me, but it didn't. I tracked the SQL emitted and it was in this order: SELECT blah FOR UPDATE WITH RR COMMIT UPDATE various other tables Which was NOT followed by a commit, thus ... |
5. Concurrency problem with Derby/Jetty. forum.hibernate.org |
6. LockMode.UPGRADE seems broken for Derby forum.hibernate.org Query query = this.getSession().createQuery( "from ShoppingBag s where s.phoneDigits = :p and s.client.name = :c"); query.setString("p", phoneDigits); query.setString("c", clientName); query.setLockMode("s", LockMode.UPGRADE); List |