PageRenderTime 10ms CodeModel.GetById 7ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/V2_NOTES.txt

http://datanucleus-appengine.googlecode.com/
Plain Text | 34 lines | 21 code | 13 blank | 0 comment | 0 complexity | 169eea8cd41c7860bde850e13efc26ae MD5 | raw file
 1The major change with version 2 is to use DataNucleus v3.x. This brings with it some significant changes.
 2* JDO PersistenceManagerFactoryClass is now "org.datanucleus.api.jdo.JDOPersistenceManagerFactory"
 3
 4* JPA "persistence provider" is now "org.datanucleus.api.jpa.PersistenceProviderImpl"
 5
 6* Level2 Caching is enabled by default. 
 7  Set persistence property "datanucleus.cache.level2.type" to "none" to get the previous behaviour.
 8  Alternatively include the datanucleus-cache plugin in the classpath, and set persistence property
 9  "datanucleus.cache.level2.type" to "javax.cache" and it will use GAE Memcached for L2 caching.
10   
11* Datastore IdentifierFactory has changed to default to "datanucleus2". 
12  Set persistence property "datanucleus.identifierFactory" to "datanucleus1" to get the previous behaviour.
13
14* Non-transactional calls to pm.makePersistent, pm.deletePersistent, em.persist, em.merge, em.remove are now
15  executed atomically, whereas before you waited til the next transaction or pm.close/em.close
16
17* JPA has "retainValues" enabled so so have the values of loaded fields retained in objects after commit.
18
19* "javax.persistence.query.chunkSize" is no longer used (invalid name anyway). Use "datanucleus.query.fetchSize" instead.
20
21* There is now no longer an exception on duplicate PMF allocation. Instead if you have the persistence property
22  "datanucleus.singletonPMFForName" set to "true" then it will return the currently allocated singleton PMF for that name.
23
24* There is now no longer an exception on duplicate EMF allocation. Instead if you have the persistence property
25  "datanucleus.singletonEMFForName" set to "true" then it will return the currently allocated singleton EMF for that name.
26
27* JDOQL/JPQL setResultClass now works
28
29* Primary Keys can now also be of type long.
30
31* Unowned relations supported
32
33* Datastore Identity supported
34