Lots of things have happened since M11. We got accepted into Apache Incubator
and if things go as planned, the next milestone will be done from Apache repository (still org.objectstyle.cayenne package names will be preserved in 1.2). 1.2 RoadMap was formalized - the next release will be 1.2 Beta. We formalized committer status of our active contributors (Cris, Tore and Kevin) and Bill Dudney came on board as a new committer.
Now back to the M12 release...
Download Link
Nested DataContexts
The major 1.2 showstopper - nested DataContexts - are more or less finalized. I am still working on documentation, but in short - a child DataContext is created via DataContext.createChildDataContext(). It can be used as a scratchpad for isolating and atomic commit/rollback of object changes to another DataContext. Same as traditional (not nested) DataContext, only changes are "committed" in memory to the parent instead of the database.
For the curious, this required significant changes to the ObjectStore internals. ObjectStore no longer stores database "snapshots" to track object modifications. Instead all changes are recorded in terms of object properties, using GraphDiff abstraction from the org.objectstyle.cayenne.graph package.
Maven2 Bundles
We've made earlier attempts to post Cayenne jars as M2 bundles
to Ibiblio repository
. Now we are more or less officially committed to distribute Cayenne in Maven format, as our own new development depends on that. Also we fixed badly formatted POM files.
As of the time of this writing M12 bundles may not be available. They are already submitted to ibiblio, so check back in a few hours.
Updated Modeler Icons
Many thanks to Malcolm Edgar for that.
FK Constraints Support on MySQL
If you use auto-adapter (i.e. do not enter adapter explicitly in the Modeler) and your MySQL default table type is INNODB (you can check by running this query: SHOW VARIABLES LIKE 'table_type'), Cayenne will support FK constraints on forward and reverse engineering.
Ingres Database Adapter
Ingres database
is now natively supported. There are a few remaining issues with adapter that will be addressed soon.
Full Release Notes