openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Catalina Wei (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-389) em.getTransaction().commit() is not issuing database commit for NativeQuery requesting updates
Date Mon, 01 Oct 2007 19:51:50 GMT
em.getTransaction().commit() is not issuing database commit for NativeQuery requesting updates
----------------------------------------------------------------------------------------------

                 Key: OPENJPA-389
                 URL: https://issues.apache.org/jira/browse/OPENJPA-389
             Project: OpenJPA
          Issue Type: Bug
          Components: jdbc
    Affects Versions: 1.0.0, 1.0.1, 1.1.0
            Reporter: Catalina Wei
            Assignee: Catalina Wei
             Fix For: 1.0.1, 1.1.0


If update is requested by a native query and it is the only method run in the application,

following query.executeUpdate(), 
em.getTransaction().commit(0 is not issuing database commit.
If after that, em.close() was not issued, any subsequent query againt the same table which
involved in the previous 
native query update will get blocked.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message