DataNucleus Access Platform 3.2 M1 Released

November 24th 2012- DataNucleus Access Platform 3.2 ("Copernicus") Milestone 1 is released. DataNucleus Access Platform provides persistence and retrieval of Java objects to/from a wide range of datastores including relational, web-based, map-based, and documents. Version 3.2 Milestone 1 includes the following changes

  • OSGi : add version restrictions on many ImportPackage specifications to allow much improved deployability out-of-the-box.
  • Merge bytecode enhancer into datanucleus-core
  • Add option to enhance all classes in a directory and below
  • Clean up connection management so that when using Data Federation pooling is based on the ExecutionContext+Datastore and otherwise for the ExecutionContext
  • Attach/Detach : add logging of fields being attached/detached
  • L2 Cache : enable caching of embedded/serialised fields by default
  • L2 Cache : revised process for updating an object in the L2 cache to avoid concurrency
  • Clean up ExecutionContext/ObjectProvider contract, to allow for easier addition of alternate StateManagers for different use-cases.
  • Change all basic types to be default persistent (so the user doesn't need to explicitly mark them as such), and update several to also be in the DFG
  • Change LinkedHashMap support to allow null values
  • Significant refactoring of internal DataNucleus classes (see the Wiki
  • JPA : Update enhancement contract to throw IllegalXXXException instead of JDOXXXException when some error condition occurs, for less JDO impact on JPA usage
  • JPA : various fixes to Criteria Query conversion to JPQL
  • JPA : add property to cater for J2EE servers that don't respect JPA spec 3.11 EM.close contract
  • Neo4j : rewrite connection code to allow multithreaded, and use single connection per PM/EM
  • MongoDB : rewrite connection code to use single connection per PM/EM
  • MongoDB : use same connection for schema checks as for PM/EM
  • RDBMS : Allow SQL "CREATE" statements to be invoked
  • RDBMS : add lazy initialisation of secondary datasource (where possible)
  • RDBMS : clean up delete handling for some situations
  • RDBMS : add support for specifying indexes on map join tables
  • XML : clean up connection handling
  • Excel : clean up connection handling
  • ODF : clean up connection handling
  • LDAP : clean up connection handling
  • Spatial : add fix to bboxTest method for PostGIS
  • Various minor bug fixes and improvements

This release is downloadable under an Apache 2 license from the DataNucleus community site.