Generates SQL update for unchanged entities within transaction
--------------------------------------------------------------
Key: OPENJPA-546
URL: https://issues.apache.org/jira/browse/OPENJPA-546
Project: OpenJPA
Issue Type: Improvement
Affects Versions: 1.0.2
Environment: OpenJPA 1.0.2
PostgreSQL 8.3.0 and probably for other RDBMS
Reporter: Georgi Naplatanov
OpenJPA generates and executes SQL update for unchanged entities within
transaction.
Example:
factory = Persistence.createEntityManagerFactory("....",System.getProperties())
;
em = factory.createEntityManager() ;
em.getTransaction().begin() ;
Query q = em.createQuery("SELECT ......... ");
List l = q.getResultList() ;
System.out.println(l.size()) ;
em.getTransaction().commit() ;
em.close() ;
factory.close() ;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.