<persistence-unit name="transactions-optional">
 
<provider>org.datanucleus.store.appengine.jpa.DatastorePersistenceProvider</
provider>
        <properties>
            <property name="datanucleus.NontransactionalRead"
value="true"/>
            <property name="datanucleus.NontransactionalWrite"
value="true"/>
            <property name="datanucleus.ConnectionURL"
value="appengine"/>
        </properties>
    </persistence-unit>


this is the default example came with GAE,   are you all using the
same setting? from my understanding

setting datanucleus.NontransactionalRead and
datanucleus.NontransactionalWrite to true in other words mean not
using transaction at all. Should i use similar setting?


in spring, normally i will do below
 <prop key="store*">PROPAGATION_REQUIRED</prop>
                <prop key="update*">PROPAGATION_REQUIRED</prop>
                <prop key="remove*">PROPAGATION_REQUIRED</prop>
                <prop key="bulkUpdate*">PROPAGATION_REQUIRED</prop>
                <prop key="*">PROPAGATION_SUPPORTS,readOnly</prop>


looking for feedback from you all

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to