Elias Torres wrote:
I might have missed this discussion, so here it goes:

Is TopLink CDDL?

Is CDDL compatible with Apache? e.g. are we going to ship Roller with it?

If no to either or both of the questions above, which is the favored and
blessed JPA implementation for Roller?

That hasn't been decided yet, all I know is that TopLink is what has been used for development up until now. We are still quite a ways away from shipping anything based on JPA so there is plenty of time to sort out which implementation we prefer.

-- Allen



-Elias

[EMAIL PROTECTED] wrote:
Author: agilliland
Date: Mon Feb 26 15:37:21 2007
New Revision: 512078

URL: http://svn.apache.org/viewvc?view=rev&rev=512078
Log:
transactions are required for update queries.


Modified:
    
incubator/roller/branches/roller_4.0/components/core/src/java/org/apache/roller/business/jpa/JPAPersistenceStrategy.java

Modified: 
incubator/roller/branches/roller_4.0/components/core/src/java/org/apache/roller/business/jpa/JPAPersistenceStrategy.java
URL: 
http://svn.apache.org/viewvc/incubator/roller/branches/roller_4.0/components/core/src/java/org/apache/roller/business/jpa/JPAPersistenceStrategy.java?view=diff&rev=512078&r1=512077&r2=512078
==============================================================================
--- 
incubator/roller/branches/roller_4.0/components/core/src/java/org/apache/roller/business/jpa/JPAPersistenceStrategy.java
 (original)
+++ 
incubator/roller/branches/roller_4.0/components/core/src/java/org/apache/roller/business/jpa/JPAPersistenceStrategy.java
 Mon Feb 26 15:37:21 2007
@@ -265,7 +265,7 @@
      */
     public Query getNamedUpdate(String queryName)
     throws RollerException {
-        EntityManager em = getEntityManager(false);
+        EntityManager em = getEntityManager(true);
         Query q = em.createNamedQuery(queryName);
         return q;
     }



Reply via email to