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 2012/10/31 20:57:55 UTC
svn commit: r836771 [9/14] - in /websites/staging/cayenne/trunk/content: ./
doc12/ doc12/grammar/ doc20/ doc30/
Modified: websites/staging/cayenne/trunk/content/doc20/tutorial-delete.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc20/tutorial-delete.html (original)
+++ websites/staging/cayenne/trunk/content/doc20/tutorial-delete.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P>Before we discuss the API for object deletion, lets go back to CayenneModeler and set up some <A href="delete-rules.html" title="Delete Rules">delete rules</A>. Doing this is optional but will simplify correct handling of the objects related to deleted objects.</P>
@@ -71,8 +83,11 @@ INFO QueryLogger: +++ transaction commi
<HR>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc20/tutorial-generate-database-and-java-classes.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc20/tutorial-generate-database-and-java-classes.html (original)
+++ websites/staging/cayenne/trunk/content/doc20/tutorial-generate-database-and-java-classes.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P>CayenneModeler can be used to generate both database schema and Java classes from the single XML model. Very often the database already exists and is maintained independently (e.g., by a DBA). In this case you won't have to go through the first part of this procedure.</P>
@@ -58,8 +70,11 @@
<HR>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc20/tutorial-mapping-query.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc20/tutorial-mapping-query.html (original)
+++ websites/staging/cayenne/trunk/content/doc20/tutorial-mapping-query.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P>Now that we've got a feel of how <A href="tutorial-datacontext.html" title="Tutorial DataContext">DataContext works</A> and how to <A href="tutorial-dataobjects.html" title="Tutorial DataObjects">create and save objects</A>, let's take a small diversion and implement a piece of code that will delete all data from the database every time the tutorial application is started. We'll learn how to map a raw SQL query with parameters using the modeler and then execute it in the code.</P>
@@ -81,8 +93,11 @@ INFO QueryLogger: === updated 1 row.</P
<HR>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc20/tutorial-object-relational-mapping.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc20/tutorial-object-relational-mapping.html (original)
+++ websites/staging/cayenne/trunk/content/doc20/tutorial-object-relational-mapping.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P>Lets go back to CayenneModeler where we have the newly created project open. Our goal is to map the following schema:</P>
@@ -75,8 +87,11 @@ Now you need to synchronize relationship
<HR>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc20/tutorial-selectquery.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc20/tutorial-selectquery.html (original)
+++ websites/staging/cayenne/trunk/content/doc20/tutorial-selectquery.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P>It was shown before how to <A href="tutorial-dataobjects.html" title="Tutorial DataObjects">persist new objects</A>. Cayenne <A href="queries.html" title="Queries">queries</A> are used to access already saved objects. The primary query type used for selecting objects is <A href="selectquery.html" title="SelectQuery">SelectQuery</A>. It can be mapped in CayenneModeler similar to how the SQLTemplate <A href="tutorial-mapping-query.html" title="Tutorial Mapping Query">was mapped</A>, in this chapter however we'll show how to create it using Cayenne API.</P>
@@ -78,8 +90,11 @@ INFO QueryLogger: === returned 2 rows.
<HR>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc20/tutorial-setup.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc20/tutorial-setup.html (original)
+++ websites/staging/cayenne/trunk/content/doc20/tutorial-setup.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H3><A name="TutorialSetup-InstallJava"></A>Install Java</H3>
<P>Make sure you have Java installed (JDK 1.4 or 1.5).</P>
@@ -54,8 +66,11 @@
<HR>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc20/tutorial-starting-mapping-project.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc20/tutorial-starting-mapping-project.html (original)
+++ websites/staging/cayenne/trunk/content/doc20/tutorial-starting-mapping-project.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H3><A name="TutorialStartingMappingProject-StartCayenneModeler"></A>Start CayenneModeler</H3>
@@ -57,8 +69,11 @@
<HR>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc20/tutorial-webapp.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc20/tutorial-webapp.html (original)
+++ websites/staging/cayenne/trunk/content/doc20/tutorial-webapp.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P>Now we'll convert the tutorial that we created to a web application. The web part of it is done in JSP and is intentionally primitive from the UI perspective, to concentrate on Cayenne integration aspect. There may be some specifics depending on the web framework used (JSP, Struts, JSF, Click, WebWork, Tapestry, etc.), still the procedure outlined here is quite universal as it relies on the J2EE servlet specification.</P>
@@ -224,8 +236,11 @@ INFO QueryLogger: +++ transaction commi
<P>You are done with the tutorial!</P>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc20/understanding-transactions.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc20/understanding-transactions.html (original)
+++ websites/staging/cayenne/trunk/content/doc20/understanding-transactions.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P>Cayenne has its own simple transaction API centered around <TT>org.apache.cayenne.access.Transaction</TT> class. Its goal is to ensure consistency of the DataContext database operations. It works either as a standalone mechanism, or in conjunction with another transaction framework, such as JTA or Spring. To switch between the two modes of operation, use "Container-Managed Transactions" checkbox in the DataDomain editing panel in CayenneModeler:</P>
@@ -151,8 +163,11 @@ Transaction tx = domain.createTransactio
</DIV></DIV>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc20/upgrade.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc20/upgrade.html (original)
+++ websites/staging/cayenne/trunk/content/doc20/upgrade.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H3><A name="Upgrade-GeneralUpgradeRecommendations"></A>General Upgrade Recommendations</H3>
@@ -137,8 +149,11 @@
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc20/user-guide.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc20/user-guide.html (original)
+++ websites/staging/cayenne/trunk/content/doc20/user-guide.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H2><A name="UserGuide-UserGuide"></A>User Guide</H2>
<OL>
@@ -37,8 +49,11 @@
<UL><LI><A href="ant-tasks.html" title="Ant Tasks">Ant Tasks</A><UL><LI><A href="cdataport.html" title="cdataport">cdataport</A></LI><LI><A href="cdbgen.html" title="cdbgen">cdbgen</A></LI><LI><A href="cdeploy.html" title="cdeploy">cdeploy</A></LI><LI><A href="cgen.html" title="cgen">cgen</A></LI></UL></LI><LI><A href="customizing.html" title="Customizing">Customizing</A><UL><LI><A href="extended-types.html" title="Extended Types">Extended Types</A></LI></UL></LI><LI><A href="datacontext.html" title="DataContext">DataContext</A><UL><LI><A href="datacontextdelegate.html" title="DataContextDelegate">DataContextDelegate</A></LI><LI><A href="datacontextfactory.html" title="DataContextFactory">DataContextFactory</A></LI><LI><A href="dataobject-state-management.html" title="DataObject State Management">DataObject State Management</A></LI><LI><A href="moving-objects-between-contexts.html" title="Moving Objects Between Contexts">Moving Objects Between Contexts</A></LI><LI><A href="n
ested-datacontexts.html" title="Nested DataContexts">Nested DataContexts</A></LI><LI><A href="obtaining-datacontext.html" title="Obtaining DataContext">Obtaining DataContext</A></LI><LI><A href="running-queries.html" title="Running Queries">Running Queries</A></LI></UL></LI><LI><A href="dataobjects.html" title="DataObjects">DataObjects</A><UL><LI><A href="accessing-pk-and-fk-values.html" title="Accessing PK and FK values">Accessing PK and FK values</A></LI><LI><A href="dataobjects-example.html" title="DataObjects Example">DataObjects Example</A></LI><LI><A href="dataobjectutils.html" title="DataObjectUtils">DataObjectUtils</A></LI><LI><A href="dataobject-validation.html" title="DataObject Validation">DataObject Validation</A></LI><LI><A href="deleting-objects.html" title="Deleting Objects">Deleting Objects</A></LI><LI><A href="flattened-relationships.html" title="Flattened Relationships">Flattened Relationships</A></LI><LI><A href="generic-persistent-class.html" title="Gener
ic Persistent Class">Generic Persistent Class</A></LI><LI><A href="handling-inheritance.html" title="Handling Inheritance">Handling Inheritance</A></LI><LI><A href="relationships.html" title="Relationships">Relationships</A></LI></UL></LI><LI><A href="dataviews.html" title="DataViews">DataViews</A><UL><LI><A href="dataview-concepts.html" title="DataView Concepts">DataView Concepts</A></LI><LI><A href="dataviews-in-action.html" title="DataViews in Action">DataViews in Action</A></LI><LI><A href="dvmodeler-gui-tool.html" title="DVModeler GUI Tool">DVModeler GUI Tool</A></LI><LI><A href="swing-applications.html" title="Swing Applications">Swing Applications</A></LI></UL></LI><LI><A href="deployment.html" title="Deployment">Deployment</A><UL><LI><A href="configuring-logging.html" title="Configuring Logging">Configuring Logging</A></LI><LI><A href="customizing-configuration.html" title="Customizing Configuration">Customizing Configuration</A></LI><LI><A href="dbcpdatasourcefactor
y.html" title="DBCPDataSourceFactory">DBCPDataSourceFactory</A></LI><LI><A href="deployment-with-ant.html" title="Deployment with Ant">Deployment with Ant</A></LI><LI><A href="standalone-applications.html" title="Standalone Applications">Standalone Applications</A></LI><LI><A href="using-jndi.html" title="Using JNDI">Using JNDI</A></LI><LI><A href="web-applications.html" title="Web Applications">Web Applications</A></LI></UL></LI><LI><A href="design.html" title="Design">Design</A><UL><LI><A href="cayenne-contract.html" title="Cayenne Contract">Cayenne Contract</A></LI><LI><A href="object-caching.html" title="Object Caching">Object Caching</A></LI><LI><A href="persistent-object-lifecycle.html" title="Persistent Object Lifecycle">Persistent Object Lifecycle</A></LI><LI><A href="primary-key-generation.html" title="Primary Key Generation">Primary Key Generation</A><UL><LI><A href="generated-columns.html" title="Generated Columns">Generated Columns</A></LI></UL></LI><LI><A href="
runtime-components.html" title="Runtime Components">Runtime Components</A><UL><LI><A href="datachannel.html" title="DataChannel">DataChannel</A></LI><LI><A href="datanode.html" title="DataNode">DataNode</A></LI><LI><A href="datasource.html" title="DataSource">DataSource</A></LI><LI><A href="dbadapter.html" title="DbAdapter">DbAdapter</A></LI><LI><A href="entityresolver.html" title="EntityResolver">EntityResolver</A></LI><LI><A href="event-package.html" title="Event Package">Event Package</A></LI><LI><A href="objectcontext.html" title="ObjectContext">ObjectContext</A></LI></UL></LI><LI><A href="understanding-transactions.html" title="Understanding Transactions">Understanding Transactions</A></LI></UL></LI><LI><A href="expressions.html" title="Expressions">Expressions</A><UL><LI><A href="bnf-for-expressionparser.html" title="BNF for ExpressionParser">BNF for ExpressionParser</A></LI><LI><A href="building-expressions.html" title="Building Expressions">Building Expressions</A></
LI><LI><A href="expression-factory-utilities.html" title="Expression Factory Utilities">Expression Factory Utilities</A></LI><LI><A href="in-memory-evaluation.html" title="In-Memory Evaluation">In-Memory Evaluation</A></LI><LI><A href="null-handling.html" title="NULL Handling">NULL Handling</A></LI><LI><A href="path-expressions.html" title="Path Expressions">Path Expressions</A></LI></UL></LI><LI><A href="installation.html" title="Installation">Installation</A><UL><LI><A href="jar-files-and-dependencies.html" title="JAR Files and Dependencies">JAR Files and Dependencies</A></LI><LI><A href="upgrade.html" title="Upgrade">Upgrade</A></LI></UL></LI><LI><A href="introduction.html" title="Introduction">Introduction</A><UL><LI><A href="acknowledgments.html" title="Acknowledgments">Acknowledgments</A></LI><LI><A href="guide-to-11-features.html" title="Guide to 1.1 Features">Guide to 1.1 Features</A></LI><LI><A href="guide-to-12-features.html" title="Guide to 1.2 Features">Guide to
1.2 Features</A></LI><LI><A href="license.html" title="License">License</A></LI></UL></LI><LI><A href="performance-tuning.html" title="Performance Tuning">Performance Tuning</A><UL><LI><A href="caching-lookup-tables.html" title="Caching Lookup Tables">Caching Lookup Tables</A></LI><LI><A href="data-rows.html" title="Data Rows">Data Rows</A></LI><LI><A href="iterating-through-data-rows.html" title="Iterating Through Data Rows">Iterating Through Data Rows</A></LI><LI><A href="paginated-queries.html" title="Paginated Queries">Paginated Queries</A></LI><LI><A href="prefetching.html" title="Prefetching">Prefetching</A></LI><LI><A href="turning-off-context-synchronization.html" title="Turning off Context Synchronization">Turning off Context Synchronization</A></LI></UL></LI><LI><A href="queries.html" title="Queries">Queries</A><UL><LI><A href="caching-query-results.html" title="Caching Query Results">Caching Query Results</A></LI><LI><A href="customizing-queries.html" title="Custo
mizing Queries">Customizing Queries</A></LI><LI><A href="namedquery.html" title="NamedQuery">NamedQuery</A></LI><LI><A href="objectidquery.html" title="ObjectIdQuery">ObjectIdQuery</A></LI><LI><A href="parameterized-queries.html" title="Parameterized Queries">Parameterized Queries</A></LI><LI><A href="qualifier-expressions.html" title="Qualifier Expressions">Qualifier Expressions</A></LI><LI><A href="queries-stored-in-datamap.html" title="Queries Stored in DataMap">Queries Stored in DataMap</A></LI><LI><A href="querychain.html" title="QueryChain">QueryChain</A></LI><LI><A href="relationshipquery.html" title="RelationshipQuery">RelationshipQuery</A></LI><LI><A href="scripting-sqltemplate.html" title="Scripting SQLTemplate">Scripting SQLTemplate</A></LI><LI><A href="selectquery.html" title="SelectQuery">SelectQuery</A></LI><LI><A href="selectquery-customization.html" title="SelectQuery Customization">SelectQuery Customization</A></LI><LI><A href="sqltemplate-query.html" title=
"SQLTemplate Query">SQLTemplate Query</A></LI><LI><A href="using-orderings.html" title="Using Orderings">Using Orderings</A></LI></UL></LI><LI><A href="quick-start.html" title="Quick Start">Quick Start</A><UL><LI><A href="tutorial-datacontext.html" title="Tutorial DataContext">Tutorial DataContext</A></LI><LI><A href="tutorial-dataobjects.html" title="Tutorial DataObjects">Tutorial DataObjects</A></LI><LI><A href="tutorial-delete.html" title="Tutorial Delete">Tutorial Delete</A></LI><LI><A href="tutorial-generate-database-and-java-classes.html" title="Tutorial Generate Database and Java Classes">Tutorial Generate Database and Java Classes</A></LI><LI><A href="tutorial-mapping-query.html" title="Tutorial Mapping Query">Tutorial Mapping Query</A></LI><LI><A href="tutorial-object-relational-mapping.html" title="Tutorial Object Relational Mapping">Tutorial Object Relational Mapping</A></LI><LI><A href="tutorial-selectquery.html" title="Tutorial SelectQuery">Tutorial SelectQuery<
/A></LI><LI><A href="tutorial-setup.html" title="Tutorial Setup">Tutorial Setup</A></LI><LI><A href="tutorial-starting-mapping-project.html" title="Tutorial Starting Mapping Project">Tutorial Starting Mapping Project</A></LI><LI><A href="tutorial-webapp.html" title="Tutorial Webapp">Tutorial Webapp</A></LI></UL></LI><LI><A href="stored-procedures.html" title="Stored Procedures">Stored Procedures</A><UL><LI><A href="executing-a-stored-procedure.html" title="Executing a Stored Procedure">Executing a Stored Procedure</A></LI><LI><A href="selecting-objects.html" title="Selecting Objects">Selecting Objects</A></LI><LI><A href="stored-procedures-and-transactions.html" title="Stored Procedures and Transactions">Stored Procedures and Transactions</A></LI></UL></LI></UL>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc20/using-jndi.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc20/using-jndi.html (original)
+++ websites/staging/cayenne/trunk/content/doc20/using-jndi.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P>Cayenne can be setup to obtain a DataSource via JNDI, instead of using its own connection pool. To do that Cayenne DataNodes must be configured to use <TT>JNDIDataSourceFactory</TT>. This can be done in the modeler as shown on the pictures below.</P>
@@ -108,8 +120,11 @@
</DIV></DIV>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc20/using-orderings.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc20/using-orderings.html (original)
+++ websites/staging/cayenne/trunk/content/doc20/using-orderings.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P>To sort SelectQuery results, orderings are used. Orderings use path expressions discussed in the previous section to identify the attributes that must be used in sorting. For example to order results by artist name, the following code can be used:</P>
@@ -59,8 +71,11 @@ orderings.add(<SPAN class="code-keyword"
</DIV></DIV>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc20/web-applications.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc20/web-applications.html (original)
+++ websites/staging/cayenne/trunk/content/doc20/web-applications.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H3><A name="WebApplications-PuttingCayenneFilesinWebApplicationCLASSPATH"></A>Putting Cayenne Files in Web Application CLASSPATH</H3>
@@ -85,8 +97,11 @@ WEB-INF/lib/...</PRE>
</DIV></DIV>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/accessing-pk-and-fk-values.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/accessing-pk-and-fk-values.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/accessing-pk-and-fk-values.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P>Normally it is not advisable to map primary and foreign key columns (PK and FK) as Java class properties (ObjAttributes). When reverse engineering of the database is done using CayenneModeler, the generated mapping will reflect that PKs and FKs will not be included in the Java class. However, sometimes an application requires access to these values.</P>
<DIV class="panelMacro"><TABLE class="infoMacro"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD valign="top"><IMG src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif" width="16" height="16" align="absmiddle" alt="" border="0"></TD><TD>For an easier way to obtain an object primary key or to find an object from a known PK, skip to the chapter on the <A href="dataobjectutils.html" title="DataObjectUtils">DataObjectUtils</A> class.</TD></TR></TABLE></DIV>
@@ -94,8 +106,11 @@
</DIV></DIV>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/advanced-sqltemplate.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/advanced-sqltemplate.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/advanced-sqltemplate.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H3><A name="AdvancedSQLTemplate-ControllingResultDataRowCaps"></A>Controlling Result DataRow Caps</H3>
<P><EM>(available since 3.0)</EM></P>
@@ -61,8 +73,11 @@ List objects = context.performQuery(quer
<P>Note that a call to "addPrefetch" is still needed to tell Cayenne which relationships are prefetched.</P>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/ant-tasks.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/ant-tasks.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/ant-tasks.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H2><A name="AntTasks-Anttasks"></A>Ant tasks</H2>
<P>Cayenne ships with Ant tasks that provide Ant frontend to a number of useful operations in Cayenne. These tasks are part of the cayenne-tools JAR. The following tasks are included:</P>
@@ -61,8 +73,11 @@
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/bnf-for-expressionparser.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/bnf-for-expressionparser.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/bnf-for-expressionparser.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H2><A name="BNFforExpressionParser-BNFforExpressionParser.jj"></A>BNF for ExpressionParser.jj</H2>
<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
@@ -61,8 +73,11 @@ pathExpression ::= ( <PROPERTY_PATH
</DIV></DIV>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/building-expressions.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/building-expressions.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/building-expressions.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P>The Expression class (<TT>org.apache.cayenne.exp.Expression</TT>) provides <TT>Expression.fromString(String)</TT> as a convenience method to create expressions of arbitrary complexity. The structure of expressions is fairly intuitive, with the <A href="http://incubator.apache.org/cayenne/1_2/grammar/ExpressionParser.html" class="external-link" rel="nofollow">formal grammar</A> showing the formal syntax and operators currently supported, but this topic is devoted to showing examples of usage. To demonstrate, an expression that matches Paintings with names that start with "A" and a price less than $1000.00 can be written as:</P>
<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
@@ -182,8 +194,11 @@ values = dataContext.performQuery(query)
<P>Even though the specified expression has two named parameters, the "gallery" key has been omitted. Cayenne will automatically translate the expression into <TT>"artist.artistName = $artist"</TT> (which becomes <TT>"artist.artistName = 'Salvador Dali'"</TT>). This feature allows a restrictive search qualifier to be written and prompt the user for search criteria. If the user leaves values out, the expression can automatically widen to be a less restrictive search by omitting the keys for the map.</P>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/caching-and-fresh-data.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/caching-and-fresh-data.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/caching-and-fresh-data.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H2><A name="CachingandFreshData-CachingandFreshData"></A>Caching and Fresh Data</H2>
<P>Caching is used by Cayenne to reduce database access and improve performance of your application. Sometimes caching automatically happens behind the scenes, and in other places the user must declare an intent to cache data. Configuring caching parameters beyond the provided reasonable defaults is an art of balancing performance with the need to see the fresh data.</P>
@@ -40,8 +52,11 @@
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/caching-lookup-tables.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/caching-lookup-tables.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/caching-lookup-tables.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P>Query result caching feature can be used to implement caching of lookup tables. "Lookup" or "configuration" tables can be loosely defined as small tables that change rarely and mostly used in read-only fashion. Examples of such tables are COUNTRY, USER_TYPE, AREA_CODE, etc. Often data from such tables is displayed in a combo box or dropdown.</P>
@@ -24,8 +36,11 @@
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/caching-query-results.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/caching-query-results.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/caching-query-results.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P>Cayenne provides a way to cache query results, avoiding unneeded database trips for the frequently used queries. Caching strategy is configured per query. A strategy can be set via API or in CayenneModeler. Possible strategies, as defined in the <TT>org.apache.cayenne.query.QueryCacheStrategy</TT> enum are the following:</P>
<DIV class="table-wrap">
@@ -106,8 +118,11 @@ List objects2 = context.performQuery(que
<P>NamedQueries that are using caching can be executed just like any other <A href="namedquery.html" title="NamedQuery">NamedQuery</A>.</P>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/cayenne-and-maven.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/cayenne-and-maven.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/cayenne-and-maven.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H2><A name="CayenneandMaven-CayenneandMaven"></A>Cayenne and Maven</H2>
<P>Cayenne publishes Maven2 artifacts to the central Maven repository, so they can be declared as dependencies in the user application <TT>pom.xml</TT>:</P>
@@ -32,8 +44,11 @@
</DIV></DIV>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/cayenne-contract.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/cayenne-contract.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/cayenne-contract.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P>There is an implied contract between persistent objects and Cayenne runtime. Cayenne expects persistent objects to follow certain conventions, while itself providing management of the various aspects of a persistent object graph.</P>
<H2><A name="CayenneContract-PersistentObjectRequirements"></A>Persistent Object Requirements</H2>
@@ -112,8 +124,11 @@ assertFalse(b1.getListOfA().contains(a1)
<P>One of the object states is HOLLOW, corresponding to unresolved objects that only have their PK known. Most often HOLLOW objects are returned from to-one relationships. Whenever such object is "touched" by the user (i.e. a setter or a getter is invoked), Cayenne automatically infaltes it with the database values.</P>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/cayenne-datamaps.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/cayenne-datamaps.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/cayenne-datamaps.html Wed Oct 31 19:57:39 2012
@@ -11,15 +11,30 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P>TO BE DONE</P>
<P><SPAN class="image-wrap" style=""><IMG src="cayenne-datamaps.data/entities.gif" style="border: 0px solid black"></SPAN></P>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/cayenne-guide.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/cayenne-guide.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/cayenne-guide.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H2><A name="CayenneGuide-CayenneGuide"></A>Cayenne Guide</H2>
@@ -36,8 +48,11 @@
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/cayenne-project-structure.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/cayenne-project-structure.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/cayenne-project-structure.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H2><A name="CayenneProjectStructure-CayenneProjectStructure"></A>Cayenne Project Structure</H2>
<P>This chapter shows what Cayenne projects are and how different parts of projects are organized.</P>
@@ -26,8 +38,11 @@
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/cayenne-projects.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/cayenne-projects.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/cayenne-projects.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H3><A name="CayenneProjects-CayenneProjects"></A>Cayenne Projects</H3>
<P>Cayenne project is a set of XML configuration files needed for a Java application to work with Cayenne. It is editable by CayenneModeler. A project has roughly the following structure:</P>
@@ -36,8 +48,11 @@
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/cayenne-user-directory.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/cayenne-user-directory.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/cayenne-user-directory.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H3><A name="CayenneUserDirectory-CayenneUserDirectory"></A>Cayenne User Directory</H3>
<P>Cayenne has a notion of Cayenne User Directory - a file system directory, one per each user account on a given machine, where Cayenne-related information is stored. While Cayenne runtime knows how to locate and access this directory, it never uses it or relies on its presence. The reason is that Cayenne is often deployed in J2EE containers and should avoid any assumptions about the underlying filesystem layout. CayenneModeler on the other hand uses it to store a number of things, like log files, preferences, etc. While users shouldn't normally care about Cayenne User Directory, as its creation and use are transparent, sometimes it is helpful to know where it is located and what information is stored there. </P>
@@ -33,8 +45,11 @@
<TT>modeler.log</TT>: CayenneModeler log file.</P>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/cayennemodeler-flattened-relationships.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/cayennemodeler-flattened-relationships.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/cayennemodeler-flattened-relationships.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H3><A name="CayenneModelerFlattenedRelationships-FlattenedRelationships"></A>Flattened Relationships</H3>
<P>ObjRelationships that map to more than a single DbRelationship are called <TT>"flattened"</TT>.</P>
@@ -31,8 +43,11 @@
<P>Further information about flattened relationships can be <A href="flattened-relationships.html" title="Flattened Relationships">found here</A>.</P>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/cdataport.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/cdataport.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/cdataport.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P>Sometimes it is necessary to recreate a database, copying data from another existing database. For instance, recreating development database instance from production data, etc. While most RDBMS provide data import/export tools, they normally require advanced DBA skills to use and are most often not portable across database engines. Cayenne will provide a lightweight ant task to do data porting between the databases with identical schema, using DataMap information.</P>
<P><TT>cdataport</TT> is an Ant task that takes a Cayenne project (cayenne.xml) with at least one DataMap and two DataNodes and ports data from source DataNode to a destination DataNode. All DataMaps linked to either the source or the target DataNode will be considered for porting.</P>
@@ -71,8 +83,11 @@
</DIV></DIV>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/cdbgen.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/cdbgen.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/cdbgen.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P><TT>cdbgen</TT> is an Ant task that uses Cayenne DataMap to drop and/or generate schema objects of a specified database.</P>
<H3><A name="cdbgen-Parameters"></A>Parameters</H3>
@@ -105,8 +117,11 @@
</DIV></DIV>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/cdbimport.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/cdbimport.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/cdbimport.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P><TT>cdbimport</TT> is an Ant task that that uses Cayenne to generate a DataMap based on an existing database schema. This allows you to generate your DataMap prior to building your project, which may be necessary if you are also using the <A href="cgen.html" title="cgen">cgen</A> task.</P>
<H3><A name="cdbimport-Parameters"></A>Parameters</H3>
@@ -107,8 +119,11 @@
</DIV></DIV>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/cdeploy.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/cdeploy.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/cdeploy.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<DIV class="panelMacro"><TABLE class="warningMacro"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD valign="top"><IMG src="https://cwiki.apache.org/confluence/images/icons/emoticons/forbidden.gif" width="16" height="16" align="absmiddle" alt="" border="0"></TD><TD><B>Deprecation Warning</B><BR>cdeploy is deprecated in 3.0 and will be removed in subsequent releases</TD></TR></TABLE></DIV>
<P><TT>cdeploy</TT> is an Ant task that configures Cayenne connection information in existing jar files that contain Cayenne project information. It is useful for the automation of deployment of Cayenne-based frameworks in different environments.</P>
@@ -105,8 +117,11 @@ Nested node Parameters:</P>
</DIV></DIV>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/cgen.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/cgen.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/cgen.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P><TT>cgen</TT> is an Ant task that generates and maintains DataObjects source files based on Cayenne DataMap. If "makepairs" is set to "true" (default), this task will generate a pair of classes (superclass/subclass) for each ObjEntity in the DataMap. Superclasses should not be changed manually, since they are always overwritten. Subclasses are never overwritten and may be later customized by the user. If "makepairs" is set to "false", a single class will be generated for each ObjEntity.</P>
<P>By creating custom templates, Cgen can also be used to generate other output (such as web pages, reports, specialized code templates) based on DataMap information.</P>
@@ -200,8 +212,11 @@
</DIV></DIV>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/classpath.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/classpath.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/classpath.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H3><A name="ClassPath-ClassPath"></A>ClassPath</H3>
@@ -22,8 +34,11 @@
<P><SPAN class="image-wrap" style=""><IMG src="classpath.data/prefs-classpath.jpg" style="border: 0px solid black"></SPAN></P>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/common-modeling-tasks.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/common-modeling-tasks.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/common-modeling-tasks.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H2><A name="CommonModelingTasks-CommonModelingTasks"></A>Common Modeling Tasks</H2>
<P>This chapter describes a number of very common operations performed in CayenneModeler. All tasks assume that the Modeler has been started successfully, and, in most cases, that there is an open project.</P>
@@ -31,8 +43,11 @@
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/comparing-dataobjects.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/comparing-dataobjects.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/comparing-dataobjects.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<P>If you have two objects a and b in the same DataContext, then you can check to see if they refer to the same database entity as simply as this:</P>
<P>{{ if (a == b) }}</P>
@@ -25,8 +37,11 @@
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/configuring-caching-behavior.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/configuring-caching-behavior.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/configuring-caching-behavior.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H2><A name="ConfiguringCachingBehavior-CacheMemoryManagement"></A>Cache Memory Management</H2>
<P>"Cache Configuration" panel allows to configure a max number of objects in the shared LRU cache. By default it is set to 10000, which is appropriate for most applications. It is up to the user whether to change this parameter, however we advise to set it to a value to be higher than an estimated max. number of objects committed in a single transaction.</P>
@@ -52,8 +64,11 @@
<P>Read more about <A href="caching-and-fresh-data.html" title="Caching and Fresh Data">caching options here. </A></P>
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Modified: websites/staging/cayenne/trunk/content/doc30/configuring-deployment-settings.html
==============================================================================
--- websites/staging/cayenne/trunk/content/doc30/configuring-deployment-settings.html (original)
+++ websites/staging/cayenne/trunk/content/doc30/configuring-deployment-settings.html Wed Oct 31 19:57:39 2012
@@ -11,7 +11,19 @@
<script type="text/javascript" src="/js/scripts.js"></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">
+
+
+
+<hr>
+<div id="content">
<H2><A name="ConfiguringDeploymentSettings-ConfiguringDeploymentSettings"></A>Configuring Deployment Settings</H2>
<P>Cayenne project deployment settings, aside from <A href="create-datanode.html" title="Create DataNode">DataNode</A> configuration discussed elsewhere, are done using DataDomain panel. This chapter describes various supported settings.</P>
@@ -29,8 +41,11 @@
<hr>
- <p id="footer">Copyright © 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.
+ <p id="footer">Copyright © 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
+</div>
+</div>
+</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));