DataNucleus Access Platform 2.1 M2 Released

April 26th 2010- DataNucleus Access Platform 2.1 ("Thomson") Milestone 2 is released. DataNucleus Access Platform provides persistence and retrieval of Java objects to/from a wide range of datastores including RDBMS, db4o, LDAP, XML, and Excel. Version 2.1 Milestone 2 includes the following changes

  • Add ability to skip the check on unused input parameters to queries
  • Fix issue with detachment when finding an object already detached but not far enough
  • Add support for compilation of queries with parameters in subqueries linking back to the main query
  • Fix to L2 caching of StringBuffer fields to cache a copy
  • Fix to handle input query with special characters (tab, eol, etc)
  • Extend query compilation to store whether the query result is distinct
  • Support specification of interface fields where there isn't currently an available implementation
  • Fix to use of dynamic fetch groups in multiple threads
  • Fix to support non-standard SQL statements (stored procs, statements not starting with SELECT/INSERT/UPDATE/MERGE/DELETE)
  • Fix to the query in-memory evaluator to support aggregate names in upper or lower case
  • Fix to a couple of situations where a versioned object can be returned to the user without the version set
  • Fix to reset the version of an object on rollback()
  • Fix to SCOListIterator
  • RDBMS : Fix to generation of indexes for reference fields when having a FK per implementation so that the index is created for the implementations FK only
  • RDBMS : Fix JDOQL2 to not select CLOB fields when using UNION or DISTINCT for Derby
  • RDBMS : Fix JDOQL2 to add parentheses around ORed clauses
  • RDBMS : Fix JDOQL2 to pick the correct statement when using methods in subqueries
  • RDBMS : Fix JDOQL2 "alpha-namer" to handle more than 26 table groups
  • RDBMS : Fix JDOQL2 to handle comparisons of interface field with an implementation
  • RDBMS : Support use of CHECK constraint when persisting boolean as numeric
  • RDBMS : Change HSQLDB use of LIMIT to append to the end of the statement
  • RDBMS : Support for use of SQLXML type with DB2 (contrib)
  • RDBMS : Fix to JDOQL2 for use of input parameters with multiple columns
  • JPA : Add support for JPQL "case" expressions
  • JPA : Add support for generation of JPA2 static metamodel classes
  • JPA : Change to handling of "columnDefinition" to expect the type to be included
  • Enhancer : when using JDK1.6 and having the enhancer in the CLASSPATH default to not enabling the annotation processor to enhance the class(es) being compiled

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