You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by bu...@apache.org on 2013/07/19 08:52:26 UTC

svn commit: r870088 - in /websites/staging/cayenne/trunk/content: ./ 2013/07/ 2013/07/cayenne-32m1-released.html

Author: buildbot
Date: Fri Jul 19 06:52:26 2013
New Revision: 870088

Log:
Staging update by buildbot for cayenne

Added:
    websites/staging/cayenne/trunk/content/2013/07/
    websites/staging/cayenne/trunk/content/2013/07/cayenne-32m1-released.html
Modified:
    websites/staging/cayenne/trunk/content/   (props changed)

Propchange: websites/staging/cayenne/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Jul 19 06:52:26 2013
@@ -1 +1 @@
-1504595
+1504779

Added: websites/staging/cayenne/trunk/content/2013/07/cayenne-32m1-released.html
==============================================================================
--- websites/staging/cayenne/trunk/content/2013/07/cayenne-32m1-released.html (added)
+++ websites/staging/cayenne/trunk/content/2013/07/cayenne-32m1-released.html Fri Jul 19 06:52:26 2013
@@ -0,0 +1,211 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en">
+<head>
+<title>Cayenne 3.2 Milestone 1 Released | Apache Cayenne</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta name="keywords" content=" apache cayenne, object relational mapping, open source orm, orm">
+<meta name="description" content=" Apache Cayenne is a powerful, full-featured, open-source object relational mapping framework created for developers working with relational databases.">
+<link rel="stylesheet" type="text/css" media="screen, projection" href="/css/styles.css">
+<link rel="stylesheet" type="text/css" media="print" href="/css/print.css">
+<link rel="shortcut icon" href="/img/favicon.ico" type="image/ico">
+<script type="text/javascript" src="/js/scripts.js"></script>
+<script type="text/javascript">
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-7036673-1']);
+  _gaq.push(['_trackPageview']);
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+</script>
+</head>
+<body>
+<div id="wrap"><div id="wrap-inner">
+
+<div id="header">
+	<h1><a href="/" title="Return to Apache Cayenne home"><span>The Apache Cayenne Project</span></a></h1>
+	<h2><a href="http://www.apache.org" title="The Apache Software Foundation"><span>The Apache Software Foundation</span></a></h2>
+</div>
+
+<div id="container">
+
+ 
+<div id="sidebar">
+<ul id="nav">
+	<li><a href="/about.html">About</a>
+		<ul>
+			<li><a href="/why-cayenne.html">Why Cayenne?</a></li>
+			<li><a href="/download.html">Download</a></li>
+			<li><a href="/success-stories.html">Success Stories</a></li>
+			<li><a href="/support.html">Support</a></li>
+		</ul>
+	</li>
+	<li><a href="/docs/index.html">Documentation</a>
+		<ul>
+			<li><a href="/docs/3.1/tutorial/index.html">Getting Started (3.1)</a></li>
+			<li class="trigger"><a href="/docs/3.1/index.html">Version 3.1 (beta)</a>
+				<ul>
+					<li><a href="/docs/3.1/cayenne-guide/index.html">Cayenne Guide</a></li>
+					<li><a href="/docs/3.1/tutorial/index.html">Tutorial</a></li>
+					<li><a href="/docs/3.1/tutorial-rop/index.html">ROP Tutorial</a></li>
+					<li><a href="/docs/3.1/upgrade-guide/index.html">Upgrade Guide</a></li>
+					<li><a href="/docs/3.1/api/index.html">JavaDoc</a></li>
+				</ul>
+			</li>
+			<li class="trigger"><a href="/docs/3.0/index.html">Version 3.0 (stable)</a>
+				<ul>
+					<li><a href="/docs/3.0/overview.html">Overview</a></li>
+					<li><a href="/docs/3.0/cayenne-guide.html">Cayenne Guide</a></li>
+					<li><a href="/docs/3.0/remote-object-persistence-guide.html">Remote Client Guide</a></li>
+					<li><a href="/docs/3.0/modeler-guide.html">Modeler Guide</a></li>
+					<li><a href="/docs/3.0/api/index.html">JavaDoc</a></li>
+				</ul>
+			</li>
+			<li class="trigger"><a href="/docs/2.0/index.html">Version 2.0 (legacy)</a>
+				<ul>
+					<li><a href="/docs/2.0/user-guide.html">User Guide</a></li>
+					<li><a href="/docs/2.0/remote-object-persistence-guide.html">Remote Client Guide</a></li>
+					<li><a href="/docs/2.0/modeler-guide.html">Modeler Guide</a></li>
+					<li><a href="/docs/2.0/api/cayenne/index.html">JavaDoc</a></li>
+				</ul>
+			</li>
+			<li class="trigger"><a href="/docs/1.2/index.html">Version 1.2 (legacy)</a>
+				<ul>
+					<li><a href="/docs/1.2/user-guide.html">User Guide</a></li>
+					<li><a href="/docs/1.2/remote-object-persistence-guide.html">Remote Client Guide</a></li>
+					<li><a href="/docs/1.2/modeler-guide.html">Modeler Guide</a></li>
+					<li><a href="/docs/1.2/api/cayenne/index.html">JavaDoc</a></li>
+				</ul>
+			</li>
+		</ul>
+	</li>
+	<li><a href="/collaboration.html">Collaboration</a>
+		<ul>
+			<li><a href="http://issues.apache.org/jira/browse/CAY">Bug/Feature Tracker</a></li>
+			<li><a href="/mailing-lists.html">Mailing Lists</a></li>
+			<li><a href="https://cwiki.apache.org/confluence/display/CAY/Index">Wiki</a></li>
+			<li><a href="/dev/code-repository.html">Code Repository</a></li>
+			<li><a href="/dev/index.html">Developer Guide</a></li>
+			<li><a href="/how-can-i-help.html">How Can I Help?</a></li>
+			<li><a href="/contributors.html">Contributors</a></li>
+		</ul>
+	</li>
+</ul>
+</div>
+
+
+<hr>
+<div id="content">
+       <h2 id="cayenne-31-beta-2-released">Cayenne 3.1 Beta 2 Released</h2>
+<p><em>Jul 19, 2013</em></p>
+<p>While Cayenne 3.1 release is in Beta and frozen, we are moving ahead with new development. Today we are glad to announce
+the first milestone of Cayenne 3.2. You may remember that 3.1 was all about dependency injection. 
+Well, 3.2 is becoming all about improving user-facing APIs (Query, ObjectContext, etc.). We are finally fully taking 
+advantage of generics to make your code type-safe, and otherwise ensuring that the code you write is more 
+concise and readable. Some of these improvements are achieved via smart class generation 
+that creates type-safe static "properties", allowing to build type-safe expression. Just to give a taste of Cayenne 3.2:</p>
+<div class="codehilite"><pre><span class="c1">// 3.1 style:</span>
+<span class="n">Expression</span> <span class="n">e</span> <span class="o">=</span> <span class="n">ExpressionFactory</span><span class="p">.</span><span class="n">matchExp</span><span class="p">(</span><span class="n">Painting</span><span class="p">.</span><span class="no">ARTIST_PROPERTY</span><span class="p">,</span> <span class="n">artist</span><span class="p">);</span>
+<span class="n">SelectQuery</span> <span class="n">q</span> <span class="o">=</span> <span class="k">new</span> <span class="n">SelectQuery</span><span class="p">(</span><span class="n">Painting</span><span class="p">.</span><span class="k">class</span><span class="p">,</span> <span class="n">e</span><span class="p">);</span>
+<span class="p">@</span><span class="n">SuppressWarnings</span><span class="p">(</span><span class="s">&quot;unchecked&quot;</span><span class="p">)</span>
+<span class="n">List</span><span class="o">&lt;</span><span class="n">Painting</span><span class="o">&gt;</span> <span class="n">paintings</span> <span class="o">=</span> <span class="k">context</span><span class="p">.</span><span class="n">performQuery</span><span class="p">(</span><span class="n">q</span><span class="p">);</span>
+
+<span class="c1">// 3.2 style:</span>
+<span class="n">Expression</span> <span class="n">e</span> <span class="o">=</span> <span class="n">Painting</span><span class="p">.</span><span class="no">ARTIST</span><span class="p">.</span><span class="n">eq</span><span class="p">(</span><span class="n">artist</span><span class="p">);</span>
+<span class="n">SelectQuery</span><span class="o">&lt;</span><span class="n">Painting</span><span class="o">&gt;</span> <span class="n">q</span> <span class="o">=</span> <span class="n">SelectQuery</span><span class="p">.</span><span class="n">query</span><span class="p">(</span><span class="n">Painting</span><span class="p">.</span><span class="k">class</span><span class="p">,</span> <span class="n">e</span><span class="p">);</span>
+<span class="n">List</span><span class="o">&lt;</span><span class="n">Painting</span><span class="o">&gt;</span> <span class="n">paintings</span> <span class="o">=</span> <span class="k">context</span><span class="p">.</span><span class="n">select</span><span class="p">(</span><span class="n">q</span><span class="p">);</span>
+</pre></div>
+
+
+<p>3.2 style results in less code, type-safe expressions and results, and no compiler warnings. Another noteable 
+improvement is a reworked 'cdbimport' that enabled Modeler-free workflow for some databases. So there's a lot to like for 
+the early 3.2 adopters.</p>
+<p>Cayenne can be downloaded from <a href="/download.html">here</a>.</p>
+<p>A full list of changes in this release:</p>
+<p>Changes/New Features:</p>
+<ul>
+<li>CAY-1294 Generify query</li>
+<li>CAY-1646 Synchronize tabs in Modeler between ObjEntity and DbEntity editor panes</li>
+<li>CAY-1647 Easily switch to/from ObjEntity and DbEntity in Modeler</li>
+<li>CAY-1717 [PATCH] Implement JDBC compatibility layer methods</li>
+<li>CAY-1718 Remove everything deprecated in 3.1</li>
+<li>CAY-1724 Add 'Property' class for easier and better Expression creation</li>
+<li>CAY-1726 Expression parser support for bit operators, support for &lt;&lt; and &gt;&gt;</li>
+<li>CAY-1737 ObjectContexts listening to DataChannel events must be non-blocking</li>
+<li>CAY-1748 IdCoder/EntityIdCoder improvements to work with ObjectIds, including temp ones</li>
+<li>CAY-1753 remove light-superclass.vm class template</li>
+<li>CAY-1754 Modeler suggested URL for SQLServer should start with 'jdbc:sqlserver:' instead of 'jdbc:microsoft:sqlserver:'</li>
+<li>CAY-1758 cdbimport improvements</li>
+<li>CAY-1759 cdbimport improvements: add 'catalog', rename 'schemaName' to 'schema'</li>
+<li>CAY-1760 cdbimport improvements: Default adapter (if none specified) must be AutoAdapter, not JdbcAdapter </li>
+<li>CAY-1761 cdbimport improvements: DbLoader must reverse engineer PK auto-increment state. </li>
+<li>CAY-1762 cdbimport improvements: Support for "defaultPackage" parameter, as the new DataMaps ends up placing entities in the root package </li>
+<li>CAY-1763 cdbimport improvements: specified "schema" should become the default schema of the generated DataMap </li>
+<li>CAY-1764 cdbimport improvements: "overwrite" flag</li>
+<li>CAY-1765 cdbimport improvements: add excludeTables/includeTables parameters</li>
+<li>CAY-1766 Deprecating DataPort ant task</li>
+<li>CAY-1768 cdbimport improvements: DataMap "project-version" attribute is skipped when DM is saved</li>
+<li>CAY-1769 cdbimport improvements: meaningfulPk flag must be turned into a pattern</li>
+<li>CAY-1771 cdbimport improvements: "usePrimitives" flag</li>
+<li>CAY-1772 Real support for DbEntity catalogs</li>
+<li>CAY-1778 TransactionManager to simplify user-managed transactions </li>
+<li>CAY-1779 Flatten object entities for many to many relationships on reverse engineering </li>
+<li>CAY-1781 Add StatelessContextRequestHandler as an alternative to the Session-based one</li>
+<li>CAY-1785 SelectQuery<T> for DataRows</li>
+<li>CAY-1789 Lock-free EntityResolver </li>
+<li>CAY-1792 [PATCH] Supply additional factory methods for generic SelectQueries </li>
+<li>CAY-1803 Optimize Expression conversion to String and EJBQL </li>
+<li>CAY-1809 Remove 'final' modifier from Cayenne, HessianUtil, PropertyComparator, ConversionUtil, and LinkedDeque</li>
+<li>CAY-1813 Missing ObjEntity Attribute Validation with Duplicate DbEntity Columns</li>
+<li>CAY-1814 Support Property.nin </li>
+<li>CAY-1819 When adding a filter, auto-register it as a listener </li>
+<li>CAY-1820 DataDomain.addListener(Object) - a shortcut for adding annotated listeners </li>
+<li>CAY-1821 AuditableFilter and friends should explicitly work with Persistent instead of Object</li>
+<li>CAY-1822 Make DataMap editor fields wider </li>
+<li>CAY-1823 remove ":sync w/DbEntity" button from ObjEntity - it is redundant and already present on the entity toolbar. </li>
+<li>CAY-1825 Simplify API for setting up query caching</li>
+<li>CAY-1828 SQLSelect - generics friendly fluent selecting sql query</li>
+<li>CAY-1829 Make ResultIterator implement Iterable<T>, create ObjectContext.iterate method</li>
+<li>CAY-1836 Firebird Adapter </li>
+<li>CAY-1838 Deprecate EntityResolver.indexedByClassProperty</li>
+</ul>
+<p>Bug Fixes:</p>
+<ul>
+<li>CAY-957 Deadlock in nested contexts</li>
+<li>CAY-1522 EJBQL query don't support quotes</li>
+<li>CAY-1677 Modeler: text fields discard input unless you press enter</li>
+<li>CAY-1701 Modeler cannot undo pasting of obj (db) entity</li>
+<li>CAY-1708 Modeler error when pasting datamap with EJBQL query</li>
+<li>CAY-1714 ROP: Cayenne tries to build a query for non committed object when using more than 2 nested contexts </li>
+<li>CAY-1721 Writing blobs fails (Oracle)</li>
+<li>CAY-1725 NullPointerException from call to removeToManyTarget</li>
+<li>CAY-1719 Modeler - Obj Attribute Java Type editor won't focus sometimes</li>
+<li>CAY-1727 Modeler thinks entity is using inheritance when it doesn't</li>
+<li>CAY-1729 PersistentDescriptor must have predictable property iteration order</li>
+<li>CAY-1738 Tutorial cayenne-rop-server should be packaged as a war</li>
+<li>CAY-1739 Cayenne ROP server resets session on every request if BASIC auth is used</li>
+<li>CAY-1742 ObjRelationship inspector says "ObjAttribute Inspector"</li>
+<li>CAY-1744 Unexpected read-only relationships in vertical inheritance mapping</li>
+<li>CAY-1749 NPE on simple nested context commit</li>
+<li>CAY-1755 FaultFailureException resolving relationships to UNIQUE non-PK columns</li>
+<li>CAY-1757 ROP: Faulting entity relationship resets uncommitted modifications made to its reverse relationship </li>
+<li>CAY-1774 EhCacheQueryCache.get(QueryMetadata, QueryCacheEntryFactory) returns null if EhCache instance for group is not present</li>
+<li>CAY-1780 cdbimport do not create xml file in resource folder</li>
+<li>CAY-1782 Deadlock when performing many concurrent inserts</li>
+<li>CAY-1783 JdbcPkGenerator.longPkFromDatabase would throw an exception if the PK value exceeds a range of Java int</li>
+<li>CAY-1794 Duplicate attributes in discriminator columns of PersistentDescriptor</li>
+<li>CAY-1804 Serialisation of long[] type was not working correctly. </li>
+<li>CAY-1806 Error importing eomodel </li>
+<li>CAY-1817 NPE during Validate Project </li>
+<li>CAY-1827 EhCache region corresponding to a cache group loses its settings after 'removeGroup'</li>
+<li>CAY-1832 Exception when modifying objects in postLoad callback</li>
+</ul>
+       <hr>
+       <p id="footer">Copyright &#169; 2001-2012 Apache Software Foundation. Apache Cayenne, Cayenne, Apache, the Apache feather logo, and the Apache Cayenne project logo are trademarks of The Apache Software Foundation. <a href="/privacy-policy.html">Privacy policy</a>.
+</div>
+</div>
+
+</div></div>
+</body>
+</html>