|
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".
|
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
|
Total messages: 2
|