Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2003)

Issue 4764043: Remove custom JPA EMF/EM/EntityTransaction and JDO Transaction (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 9 months ago by datanucleus
Modified:
12 years, 9 months ago
Reviewers:
maxr
Base URL:
http://datanucleus-appengine.googlecode.com/svn/trunk/trunk/
Visibility:
Public.

Description

A StoreManager can easily be notified of when a txn starts, commits, rolls back. As a result the logic in DatastoreEntityTransaction and DatastoreJDOTransaction can be removed. This means that the custom JPA EMF/PersistenceProvider is also not needed. The remaining work to get rid of the custom PMF/PM will involve separate work on the bulk loading, and fetch fields (to be included later). PS, this change is applied to SVN trunk, but since it is significant is included here for "review".

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -380 lines) Patch
demos/helloorm/src/META-INF/persistence.xml View 1 chunk +1 line, -1 line 0 comments Download
src/META-INF/services/javax.persistence.spi.PersistenceProvider View 1 chunk +0 lines, -1 line 0 comments Download
src/com/google/appengine/datanucleus/DatastoreManager.java View 3 chunks +36 lines, -7 lines 0 comments Download
src/com/google/appengine/datanucleus/jdo/DatastoreJDOPersistenceManager.java View 2 chunks +0 lines, -12 lines 0 comments Download
src/com/google/appengine/datanucleus/jdo/DatastoreJDOTransaction.java View 1 chunk +0 lines, -90 lines 0 comments Download
src/com/google/appengine/datanucleus/jpa/DatastoreEntityManager.java View 1 chunk +0 lines, -43 lines 0 comments Download
src/com/google/appengine/datanucleus/jpa/DatastoreEntityManagerFactory.java View 1 chunk +0 lines, -68 lines 0 comments Download
src/com/google/appengine/datanucleus/jpa/DatastoreEntityTransactionImpl.java View 1 chunk +0 lines, -86 lines 0 comments Download
src/com/google/appengine/datanucleus/jpa/DatastorePersistenceProvider.java View 1 chunk +0 lines, -58 lines 0 comments Download
testing/library/src/META-INF/persistence.xml View 1 chunk +1 line, -1 line 0 comments Download
tests/META-INF/persistence.xml View 6 chunks +6 lines, -6 lines 0 comments Download
tests/com/google/appengine/datanucleus/jpa/JPADataSourceConfigTest.java View 3 chunks +3 lines, -5 lines 0 comments Download
tests/com/google/appengine/datanucleus/jpa/JPATestCase.java View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 2
datanucleus
12 years, 9 months ago (2011-07-17 08:49:33 UTC) #1
maxr
12 years, 9 months ago (2011-07-17 21:59:47 UTC) #2
On 2011/07/17 08:49:33, datanucleus wrote:

Good riddance.  

Not entirely related to this CL, but consider renaming
DatastoreJDOPersistenceManagerFactoryTest and DatastoreEntityManagerFactoryTest
now that DatastoreJDOPersistenceManagerFactory and DatastoreEntityManagerFactory
no longer exist.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b