Author: dkazimirchyk
Date: Mon Feb 29 16:00:23 2016
New Revision: 1732911
URL: http://svn.apache.org/viewvc?rev=1732911&view=rev
Log:
Update tutorial's 'Selecting Objects' section to use ObjectSelect instead of
outdated SelectQuery examples.
Modified:
cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch01.html
cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch02.html
cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch03.html
cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch04.html
cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch05.html
cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch06.html
cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch07.html
cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch08.html
cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch09.html
cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part1.html
cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part2.html
cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part3.html
cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part4.html
cayenne/site/cms/trunk/content/docs/4.0/tutorial/index.html
Modified: cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch01.html
URL:
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch01.html?rev=1732911&r1=1732910&r2=1732911&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch01.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch01.html Mon Feb 29
16:00:23 2016
@@ -9,7 +9,7 @@
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 bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M3-SNAPSHOT)</th><th
align="center">Chapter 1. Setup</th><th></th></tr><tr><td width="20%"
align="left"><a accesskey="p"
href="getting-started-part1.html">Prev</a> </td><th width="60%"
align="center"><a accesskey="u"
href="getting-started-part1.html">Part I. Setting up the
environment</a></th><td width="20%" align="right"> <a accesskey="n"
href="getting-started-part2.html">Next</a></td></tr></table><hr></div><div
class="chapter" title="Chapter 1. Setup"><div
class="titlepage"><div><div><h2 class="title"><a
name="d0e24"></a>Chapter 1. Setup</h2></div></div></div><div
class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a
href="ch01.html#install-java">Install Java
</a></span></dt><dt><span class="section"><a
href="ch01.html#install-eclipse-and-maven">Install Eclipse IDE and the Maven
Plugin</a></span></dt></dl></div><p> The goal of this chapter of the tutorial
is to install (or check that you already have
+ </script></head><body bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M4-SNAPSHOT)</th><th
align="center">Chapter 1. Setup</th><th></th></tr><tr><td width="20%"
align="left"><a accesskey="p"
href="getting-started-part1.html">Prev</a> </td><th width="60%"
align="center"><a accesskey="u"
href="getting-started-part1.html">Part I. Setting up the
environment</a></th><td width="20%" align="right"> <a accesskey="n"
href="getting-started-part2.html">Next</a></td></tr></table><hr></div><div
class="chapter" title="Chapter 1. Setup"><div
class="titlepage"><div><div><h2 class="title"><a
name="d0e24"></a>Chapter 1. Setup</h2></div></div></div><div
class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a
href="ch01.html#install-java">Install Java
</a></span></dt><dt><span class="section"><a
href="ch01.html#install-eclipse-and-maven">Install Eclipse IDE and the Maven
Plugin</a></span></dt></dl></div><p> The goal of this chapter of the tutorial
is to install (or check that you already have
installed) a minimally needed set of software to build a Cayenne
application. </p><div class="section" title="Install Java"><div
class="titlepage"><div><div><h2 class="title"><a
name="install-java"></a>Install Java</h2></div></div></div><p>
Obviously, JDK has to be installed. Cayenne 3.1 requires JDK 1.5
or newer.
</p></div><div class="section" title="Install Eclipse IDE and the
Maven Plugin"><div class="titlepage"><div><div><h2 class="title"><a
name="install-eclipse-and-maven"></a>Install Eclipse IDE and the Maven
Plugin</h2></div></div></div><p> Download Eclipse. This tutorial is based on
the Galileo package (Eclipse 3.5), JEE
Modified: cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch02.html
URL:
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch02.html?rev=1732911&r1=1732910&r2=1732911&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch02.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch02.html Mon Feb 29
16:00:23 2016
@@ -9,7 +9,7 @@
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 bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M3-SNAPSHOT)</th><th
align="center">Chapter 2. Starting a
project</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p"
href="getting-started-part2.html">Prev</a> </td><th width="60%"
align="center"><a accesskey="u"
href="getting-started-part2.html">Part II. Learning mapping
basics</a></th><td width="20%" align="right"> <a accesskey="n"
href="ch03.html">Next</a></td></tr></table><hr></div><div class="chapter"
title="Chapter 2. Starting a project"><div
class="titlepage"><div><div><h2 class="title"><a
name="d0e58"></a>Chapter 2. Starting a
project</h2></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="section"><a href="ch02.html#create
-new-project">Create a new Project in Eclipse </a></span></dt><dt><span
class="section"><a href="ch02.html#download-and-start-cayenne-modeler">Download
and Start CayenneModeler</a></span></dt><dt><span class="section"><a
href="ch02.html#create-new-mapping-project">Create a New Mapping Project in
CayenneModeler</a></span></dt><dt><span class="section"><a
href="ch02.html#create-datanode">Create a DataNode</a></span></dt><dt><span
class="section"><a href="ch02.html#create-datamap">Create a
DataMap</a></span></dt><dt><span class="section"><a
href="ch02.html#save-project">Save the Project</a></span></dt></dl></div><p>
+ </script></head><body bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M4-SNAPSHOT)</th><th
align="center">Chapter 2. Starting a
project</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p"
href="getting-started-part2.html">Prev</a> </td><th width="60%"
align="center"><a accesskey="u"
href="getting-started-part2.html">Part II. Learning mapping
basics</a></th><td width="20%" align="right"> <a accesskey="n"
href="ch03.html">Next</a></td></tr></table><hr></div><div class="chapter"
title="Chapter 2. Starting a project"><div
class="titlepage"><div><div><h2 class="title"><a
name="d0e58"></a>Chapter 2. Starting a
project</h2></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="section"><a href="ch02.html#create
-new-project">Create a new Project in Eclipse </a></span></dt><dt><span
class="section"><a href="ch02.html#download-and-start-cayenne-modeler">Download
and Start CayenneModeler</a></span></dt><dt><span class="section"><a
href="ch02.html#create-new-mapping-project">Create a New Mapping Project in
CayenneModeler</a></span></dt><dt><span class="section"><a
href="ch02.html#create-datanode">Create a DataNode</a></span></dt><dt><span
class="section"><a href="ch02.html#create-datamap">Create a
DataMap</a></span></dt><dt><span class="section"><a
href="ch02.html#save-project">Save the Project</a></span></dt></dl></div><p>
The goal of this chapter is to create a new Java project in Eclipse
containing a basic Cayenne mapping. It presents an introduction to
CayenneModeler GUI tool, showing how to create the initial mapping
Modified: cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch03.html
URL:
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch03.html?rev=1732911&r1=1732910&r2=1732911&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch03.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch03.html Mon Feb 29
16:00:23 2016
@@ -9,7 +9,7 @@
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 bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M3-SNAPSHOT)</th><th
align="center">Chapter 3. Getting started with Object Relational
Mapping (ORM)</th><th></th></tr><tr><td width="20%" align="left"><a
accesskey="p" href="ch02.html">Prev</a> </td><th width="60%"
align="center"><a accesskey="u"
href="getting-started-part2.html">Part II. Learning mapping
basics</a></th><td width="20%" align="right"> <a accesskey="n"
href="ch04.html">Next</a></td></tr></table><hr></div><div class="chapter"
title="Chapter 3. Getting started with Object Relational Mapping
(ORM)"><div class="titlepage"><div><div><h2 class="title"><a
name="d0e157"></a>Chapter 3. Getting started with Object Relational
Mapping (ORM)</h2></div></div></div><div class="toc">
<p><b>Table of Contents</b></p><dl><dt><span class="section"><a
href="ch03.html#mapping-db-tables-and-columns">Mapping Database Tables and
Columns</a></span></dt><dt><span class="section"><a
href="ch03.html#mapping-db-relationships">Mapping Database
Relationships</a></span></dt><dt><span class="section"><a
href="ch03.html#mapping-java-classes">Mapping Java
Classes</a></span></dt></dl></div><p> The goal of this section is to learn how
to create a simple Object-Relational model with
+ </script></head><body bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M4-SNAPSHOT)</th><th
align="center">Chapter 3. Getting started with Object Relational
Mapping (ORM)</th><th></th></tr><tr><td width="20%" align="left"><a
accesskey="p" href="ch02.html">Prev</a> </td><th width="60%"
align="center"><a accesskey="u"
href="getting-started-part2.html">Part II. Learning mapping
basics</a></th><td width="20%" align="right"> <a accesskey="n"
href="ch04.html">Next</a></td></tr></table><hr></div><div class="chapter"
title="Chapter 3. Getting started with Object Relational Mapping
(ORM)"><div class="titlepage"><div><div><h2 class="title"><a
name="d0e157"></a>Chapter 3. Getting started with Object Relational
Mapping (ORM)</h2></div></div></div><div class="toc">
<p><b>Table of Contents</b></p><dl><dt><span class="section"><a
href="ch03.html#mapping-db-tables-and-columns">Mapping Database Tables and
Columns</a></span></dt><dt><span class="section"><a
href="ch03.html#mapping-db-relationships">Mapping Database
Relationships</a></span></dt><dt><span class="section"><a
href="ch03.html#mapping-java-classes">Mapping Java
Classes</a></span></dt></dl></div><p> The goal of this section is to learn how
to create a simple Object-Relational model with
CayenneModeler. We will create a complete ORM model for the following
database
schema:</p><p><span class="inlinemediaobject"><img
src="images/database-schema.jpg"></span>
</p><p>
Modified: cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch04.html
URL:
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch04.html?rev=1732911&r1=1732910&r2=1732911&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch04.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch04.html Mon Feb 29
16:00:23 2016
@@ -9,7 +9,7 @@
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 bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M3-SNAPSHOT)</th><th
align="center">Chapter 4. Creating Java
Classes</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p"
href="ch03.html">Prev</a> </td><th width="60%" align="center"><a
accesskey="u" href="getting-started-part2.html">Part II. Learning
mapping basics</a></th><td width="20%" align="right"> <a accesskey="n"
href="getting-started-part3.html">Next</a></td></tr></table><hr></div><div
class="chapter" title="Chapter 4. Creating Java Classes"><div
class="titlepage"><div><div><h2 class="title"><a
name="d0e264"></a>Chapter 4. Creating Java
Classes</h2></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="section"><a href="ch04.h
tml#creating-java-classes">Creating Java
Classes</a></span></dt></dl></div><p>Here we'll generate the Java classes from
the model that was created in the previous
+ </script></head><body bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M4-SNAPSHOT)</th><th
align="center">Chapter 4. Creating Java
Classes</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p"
href="ch03.html">Prev</a> </td><th width="60%" align="center"><a
accesskey="u" href="getting-started-part2.html">Part II. Learning
mapping basics</a></th><td width="20%" align="right"> <a accesskey="n"
href="getting-started-part3.html">Next</a></td></tr></table><hr></div><div
class="chapter" title="Chapter 4. Creating Java Classes"><div
class="titlepage"><div><div><h2 class="title"><a
name="d0e264"></a>Chapter 4. Creating Java
Classes</h2></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="section"><a href="ch04.h
tml#creating-java-classes">Creating Java
Classes</a></span></dt></dl></div><p>Here we'll generate the Java classes from
the model that was created in the previous
section. CayenneModeler can be used to also generate the database
schema, but since we
specified "CreateIfNoSchemaStrategy" earlier when we created a
DataNode, we'll skip the
database schema step. Still be aware that you can do it if you need to
via "Tools >
Modified: cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch05.html
URL:
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch05.html?rev=1732911&r1=1732910&r2=1732911&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch05.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch05.html Mon Feb 29
16:00:23 2016
@@ -9,7 +9,7 @@
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 bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M3-SNAPSHOT)</th><th
align="center">Chapter 5. Getting started with
ObjectContext</th><th></th></tr><tr><td width="20%" align="left"><a
accesskey="p" href="getting-started-part3.html">Prev</a> </td><th
width="60%" align="center"><a accesskey="u"
href="getting-started-part3.html">Part III. Learning Cayenne
API</a></th><td width="20%" align="right"> <a accesskey="n"
href="ch06.html">Next</a></td></tr></table><hr></div><div class="chapter"
title="Chapter 5. Getting started with ObjectContext"><div
class="titlepage"><div><div><h2 class="title"><a
name="d0e318"></a>Chapter 5. Getting started with
ObjectContext</h2></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt>
<span class="section"><a href="ch05.html#creating-main-class">Creating the
Main Class</a></span></dt><dt><span class="section"><a
href="ch05.html#runnning-app">Running
Application</a></span></dt></dl></div><p>In this section we'll write a simple
main class to run our application, and get a brief
+ </script></head><body bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M4-SNAPSHOT)</th><th
align="center">Chapter 5. Getting started with
ObjectContext</th><th></th></tr><tr><td width="20%" align="left"><a
accesskey="p" href="getting-started-part3.html">Prev</a> </td><th
width="60%" align="center"><a accesskey="u"
href="getting-started-part3.html">Part III. Learning Cayenne
API</a></th><td width="20%" align="right"> <a accesskey="n"
href="ch06.html">Next</a></td></tr></table><hr></div><div class="chapter"
title="Chapter 5. Getting started with ObjectContext"><div
class="titlepage"><div><div><h2 class="title"><a
name="d0e318"></a>Chapter 5. Getting started with
ObjectContext</h2></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt>
<span class="section"><a href="ch05.html#creating-main-class">Creating the
Main Class</a></span></dt><dt><span class="section"><a
href="ch05.html#runnning-app">Running
Application</a></span></dt></dl></div><p>In this section we'll write a simple
main class to run our application, and get a brief
introduction to Cayenne ObjectContext.</p><div class="section"
title="Creating the Main Class"><div class="titlepage"><div><div><h2
class="title"><a name="creating-main-class"></a>Creating the Main
Class</h2></div></div></div><div class="itemizedlist"><ul
class="itemizedlist"><li class="listitem"><p>In Eclipse create a new class
called "Main" in the "org.example.cayenne"
package.</p></li><li class="listitem"><p>Create a standard
"main" method to make it a runnable
class:</p><pre class="programlisting"><span
xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">package</span>
org.example.cayenne;
Modified: cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch06.html
URL:
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch06.html?rev=1732911&r1=1732910&r2=1732911&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch06.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch06.html Mon Feb 29
16:00:23 2016
@@ -9,7 +9,7 @@
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 bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M3-SNAPSHOT)</th><th
align="center">Chapter 6. Getting started with persistent
objects</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p"
href="ch05.html">Prev</a> </td><th width="60%" align="center"><a
accesskey="u" href="getting-started-part3.html">Part III. Learning
Cayenne API</a></th><td width="20%" align="right"> <a accesskey="n"
href="ch07.html">Next</a></td></tr></table><hr></div><div class="chapter"
title="Chapter 6. Getting started with persistent objects"><div
class="titlepage"><div><div><h2 class="title"><a
name="d0e361"></a>Chapter 6. Getting started with persistent
objects</h2></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><s
pan class="section"><a
href="ch06.html#customizing-persistent-objects">Inspecting and Customizing
Persistent Objects</a></span></dt><dt><span class="section"><a
href="ch06.html#create-new-objects">Create New
Objects</a></span></dt></dl></div><p>In this chapter we'll learn about
persistent objects, how to customize them and how to
+ </script></head><body bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M4-SNAPSHOT)</th><th
align="center">Chapter 6. Getting started with persistent
objects</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p"
href="ch05.html">Prev</a> </td><th width="60%" align="center"><a
accesskey="u" href="getting-started-part3.html">Part III. Learning
Cayenne API</a></th><td width="20%" align="right"> <a accesskey="n"
href="ch07.html">Next</a></td></tr></table><hr></div><div class="chapter"
title="Chapter 6. Getting started with persistent objects"><div
class="titlepage"><div><div><h2 class="title"><a
name="d0e361"></a>Chapter 6. Getting started with persistent
objects</h2></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><s
pan class="section"><a
href="ch06.html#customizing-persistent-objects">Inspecting and Customizing
Persistent Objects</a></span></dt><dt><span class="section"><a
href="ch06.html#create-new-objects">Create New
Objects</a></span></dt></dl></div><p>In this chapter we'll learn about
persistent objects, how to customize them and how to
create and save them in DB.</p><div class="section" title="Inspecting
and Customizing Persistent Objects"><div class="titlepage"><div><div><h2
class="title"><a name="customizing-persistent-objects"></a>Inspecting and
Customizing Persistent Objects</h2></div></div></div><p>Persistent classes in
Cayenne implement a DataObject interface. If you inspect any of
the classes generated earlier in this tutorial (e.g.
org.example.cayenne.persistent.Artist), you'll see that it extends
a class with the name
Modified: cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch07.html
URL:
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch07.html?rev=1732911&r1=1732910&r2=1732911&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch07.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch07.html Mon Feb 29
16:00:23 2016
@@ -9,25 +9,19 @@
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 bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M3-SNAPSHOT)</th><th
align="center">Chapter 7. Selecting Objects</th><th></th></tr><tr><td
width="20%" align="left"><a accesskey="p"
href="ch06.html">Prev</a> </td><th width="60%" align="center"><a
accesskey="u" href="getting-started-part3.html">Part III. Learning
Cayenne API</a></th><td width="20%" align="right"> <a accesskey="n"
href="ch08.html">Next</a></td></tr></table><hr></div><div class="chapter"
title="Chapter 7. Selecting Objects"><div
class="titlepage"><div><div><h2 class="title"><a
name="d0e405"></a>Chapter 7. Selecting
Objects</h2></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="section"><a
href="ch07.html#introducing-select-query">I
ntroducing SelectQuery</a></span></dt></dl></div><p>This chapter shows how to
select objects from the database using SelectQuery. </p><div class="section"
title="Introducing SelectQuery"><div class="titlepage"><div><div><h2
class="title"><a name="introducing-select-query"></a>Introducing
SelectQuery</h2></div></div></div><p>It was shown before how to persist new
objects. Cayenne queries are used to access
- already saved objects. The primary query type used for selecting
objects is <span class="italic">SelectQuery</span>. It can be mapped in
CayenneModeler or created
- via the API. We'll use the later approach in this section. We
don't have too much data
- in the database yet, but we can still demonstrate the main
principles below.</p><div class="itemizedlist"><ul class="itemizedlist"><li
class="listitem"><p>Select all paintings (the code, and the log output it
generates):</p></li></ul></div><pre class="programlisting">SelectQuery select1
= <span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">new</span>
SelectQuery(Painting.<span xmlns="http://www.w3.org/1999/xhtml"
class="hl-keyword">class</span>);
-List paintings1 = context.performQuery(select1);</pre><pre
class="programlisting">INFO: SELECT t0.GALLERY_ID, t0.ARTIST_ID, t0.NAME, t0.ID
FROM PAINTING t0
-INFO: === returned 2 rows. - took 18 ms.</pre><div class="itemizedlist"><ul
class="itemizedlist"><li class="listitem"><p>Select paintings that start with
"gi", ignoring case:</p></li></ul></div><pre class="programlisting">Expression
qualifier2 = ExpressionFactory.likeIgnoreCaseExp(
- Painting.NAME_PROPERTY,
- <span xmlns="http://www.w3.org/1999/xhtml"
class="hl-string">"gi%"</span>);
-SelectQuery select2 = <span xmlns="http://www.w3.org/1999/xhtml"
class="hl-keyword">new</span> SelectQuery(Painting.<span
xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">class</span>,
qualifier2);
-List paintings2 = context.performQuery(select2);</pre><pre
class="programlisting">INFO: SELECT t0.GALLERY_ID, t0.NAME, t0.ARTIST_ID, t0.ID
FROM PAINTING t0 WHERE UPPER(t0.NAME) LIKE UPPER(?)
+ </script></head><body bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M4-SNAPSHOT)</th><th
align="center">Chapter 7. Selecting Objects</th><th></th></tr><tr><td
width="20%" align="left"><a accesskey="p"
href="ch06.html">Prev</a> </td><th width="60%" align="center"><a
accesskey="u" href="getting-started-part3.html">Part III. Learning
Cayenne API</a></th><td width="20%" align="right"> <a accesskey="n"
href="ch08.html">Next</a></td></tr></table><hr></div><div class="chapter"
title="Chapter 7. Selecting Objects"><div
class="titlepage"><div><div><h2 class="title"><a
name="d0e405"></a>Chapter 7. Selecting
Objects</h2></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="section"><a
href="ch07.html#introducing-select-query">I
ntroducing ObjectSelect</a></span></dt></dl></div><p>This chapter shows how to
select objects from the database using ObjectSelect query. </p><div
class="section" title="Introducing ObjectSelect"><div
class="titlepage"><div><div><h2 class="title"><a
name="introducing-select-query"></a>Introducing
ObjectSelect</h2></div></div></div><p>It was shown before how to persist new
objects. Cayenne queries are used to access
+ already saved objects. The primary query type used for selecting
objects is <span class="italic">ObjectSelect</span>. It can be mapped in
CayenneModeler or created
+ via the API. We'll use the latter approach in this section. We
don't have too much data
+ in the database yet, but we can still demonstrate the main
principles below.</p><div class="itemizedlist"><ul class="itemizedlist"><li
class="listitem"><p>Select all paintings (the code, and the log output it
generates):</p></li></ul></div><pre class="programlisting">List<Painting>
paintings1 = ObjectSelect.query(Painting.<span
xmlns="http://www.w3.org/1999/xhtml"
class="hl-keyword">class</span>).select(context); </pre><pre
class="programlisting">INFO: SELECT t0.GALLERY_ID, t0.ARTIST_ID, t0.NAME, t0.ID
FROM PAINTING t0
+INFO: === returned 2 rows. - took 18 ms.</pre><div class="itemizedlist"><ul
class="itemizedlist"><li class="listitem"><p>Select paintings that start with
"gi", ignoring case:</p></li></ul></div><pre
class="programlisting">List<Painting> paintings2 =
ObjectSelect.query(Painting.<span xmlns="http://www.w3.org/1999/xhtml"
class="hl-keyword">class</span>)
+ .where(Painting.NAME.likeIgnoreCase(<span
xmlns="http://www.w3.org/1999/xhtml"
class="hl-string">"gi%"</span>)).select(context); </pre><pre
class="programlisting">INFO: SELECT t0.GALLERY_ID, t0.NAME, t0.ARTIST_ID, t0.ID
FROM PAINTING t0 WHERE UPPER(t0.NAME) LIKE UPPER(?)
[bind: 1->NAME:'gi%'] - prepared in 6 ms.
-INFO: === returned 1 row. - took 18 ms.</pre><div class="itemizedlist"><ul
class="itemizedlist"><li class="listitem"><p>Select all paintings done by
artists who were born more than a 100 years ago
- (demonstrating using Expression.fromString(..) instead of
- ExpressionFactory):</p></li></ul></div><pre
class="programlisting">Calendar c = <span xmlns="http://www.w3.org/1999/xhtml"
class="hl-keyword">new</span> GregorianCalendar();
+INFO: === returned 1 row. - took 18 ms.</pre><div class="itemizedlist"><ul
class="itemizedlist"><li class="listitem"><p>Select all paintings done by
artists who were born more than a 100 years
+ ago:</p></li></ul></div><pre
class="programlisting">Calendar c = <span xmlns="http://www.w3.org/1999/xhtml"
class="hl-keyword">new</span> GregorianCalendar();
c.set(c.get(Calendar.YEAR) - <span xmlns="http://www.w3.org/1999/xhtml"
class="hl-number">100</span>, <span xmlns="http://www.w3.org/1999/xhtml"
class="hl-number">0</span>, <span xmlns="http://www.w3.org/1999/xhtml"
class="hl-number">1</span>, <span xmlns="http://www.w3.org/1999/xhtml"
class="hl-number">0</span>, <span xmlns="http://www.w3.org/1999/xhtml"
class="hl-number">0</span>, <span xmlns="http://www.w3.org/1999/xhtml"
class="hl-number">0</span>);
-Expression qualifier3 = Expression.fromString(<span
xmlns="http://www.w3.org/1999/xhtml" class="hl-string">"artist.dateOfBirth <
$date"</span>);
-qualifier3 = qualifier3.expWithParameters(Collections.singletonMap(<span
xmlns="http://www.w3.org/1999/xhtml" class="hl-string">"date"</span>,
c.getTime()));
-SelectQuery select3 = <span xmlns="http://www.w3.org/1999/xhtml"
class="hl-keyword">new</span> SelectQuery(Painting.<span
xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">class</span>,
qualifier3);
-List paintings3 = context.performQuery(select3);</pre><pre
class="programlisting">INFO: SELECT t0.GALLERY_ID, t0.NAME, t0.ARTIST_ID, t0.ID
FROM PAINTING t0 JOIN ARTIST t1 ON (t0.ARTIST_ID = t1.ID)
+List<Painting> paintings3 = ObjectSelect.query(Painting.<span
xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">class</span>)
+ .where(Painting.ARTIST.dot(Artist.DATE_OF_BIRTH).lt(c.getTime()))
+ .select(context); </pre><pre class="programlisting">INFO: SELECT
t0.GALLERY_ID, t0.NAME, t0.ARTIST_ID, t0.ID FROM PAINTING t0 JOIN ARTIST t1 ON
(t0.ARTIST_ID = t1.ID)
WHERE t1.DATE_OF_BIRTH < ? [bind: 1->DATE_OF_BIRTH:'1911-01-01
00:00:00.493'] - prepared in 7 ms.
INFO: === returned 2 rows. - took 25 ms.</pre></div></div><div
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td
width="40%" align="left"><a accesskey="p"
href="ch06.html">Prev</a> </td><td width="20%" align="center"><a
accesskey="u" href="getting-started-part3.html">Up</a></td><td width="40%"
align="right"> <a accesskey="n" href="ch08.html">Next</a></td></tr><tr><td
width="40%" align="left" valign="top">Chapter 6. Getting started with
persistent objects </td><td width="20%" align="center"><a accesskey="h"
href="index.html">Home</a></td><td width="40%" align="right"
valign="top"> Chapter 8. Deleting
Objects</td></tr></table></div></body></html>
\ No newline at end of file
Modified: cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch08.html
URL:
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch08.html?rev=1732911&r1=1732910&r2=1732911&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch08.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch08.html Mon Feb 29
16:00:23 2016
@@ -9,7 +9,7 @@
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 bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M3-SNAPSHOT)</th><th
align="center">Chapter 8. Deleting Objects</th><th></th></tr><tr><td
width="20%" align="left"><a accesskey="p"
href="ch07.html">Prev</a> </td><th width="60%" align="center"><a
accesskey="u" href="getting-started-part3.html">Part III. Learning
Cayenne API</a></th><td width="20%" align="right"> <a accesskey="n"
href="getting-started-part4.html">Next</a></td></tr></table><hr></div><div
class="chapter" title="Chapter 8. Deleting Objects"><div
class="titlepage"><div><div><h2 class="title"><a
name="d0e444"></a>Chapter 8. Deleting
Objects</h2></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="section"><a href="ch08.html#setup-delete-
rules">Setting Up Delete Rules</a></span></dt><dt><span class="section"><a
href="ch08.html#deleting-objects">Deleting
Objects</a></span></dt></dl></div><p>This chapter explains how to model
relationship delete rules and how to delete individual
+ </script></head><body bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M4-SNAPSHOT)</th><th
align="center">Chapter 8. Deleting Objects</th><th></th></tr><tr><td
width="20%" align="left"><a accesskey="p"
href="ch07.html">Prev</a> </td><th width="60%" align="center"><a
accesskey="u" href="getting-started-part3.html">Part III. Learning
Cayenne API</a></th><td width="20%" align="right"> <a accesskey="n"
href="getting-started-part4.html">Next</a></td></tr></table><hr></div><div
class="chapter" title="Chapter 8. Deleting Objects"><div
class="titlepage"><div><div><h2 class="title"><a
name="d0e444"></a>Chapter 8. Deleting
Objects</h2></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="section"><a href="ch08.html#setup-delete-
rules">Setting Up Delete Rules</a></span></dt><dt><span class="section"><a
href="ch08.html#deleting-objects">Deleting
Objects</a></span></dt></dl></div><p>This chapter explains how to model
relationship delete rules and how to delete individual
objects as well as sets of objects. Also demonstrated the use of
Cayenne class to run a
query.</p><div class="section" title="Setting Up Delete Rules"><div
class="titlepage"><div><div><h2 class="title"><a
name="setup-delete-rules"></a>Setting Up Delete
Rules</h2></div></div></div><p>Before we discuss the API for object deletion,
lets go back to CayenneModeler and set
up some delete rules. Doing this is optional but will simplify
correct handling of the
Modified: cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch09.html
URL:
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch09.html?rev=1732911&r1=1732910&r2=1732911&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch09.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/ch09.html Mon Feb 29
16:00:23 2016
@@ -9,7 +9,7 @@
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 bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M3-SNAPSHOT)</th><th
align="center">Chapter 9. Converting to Web
Application</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p"
href="getting-started-part4.html">Prev</a> </td><th width="60%"
align="center"><a accesskey="u"
href="getting-started-part4.html">Part IV. Converting to Web
Application</a></th><td width="20%"
align="right"> </td></tr></table><hr></div><div class="chapter"
title="Chapter 9. Converting to Web Application"><div
class="titlepage"><div><div><h2 class="title"><a
name="d0e493"></a>Chapter 9. Converting to Web
Application</h2></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="section"><a href="ch09.html#converti
ng-to-webapp">Converting Tutorial to a Web
Application</a></span></dt><dt><span class="section"><a
href="ch09.html#running-webapp">Running Web
Application</a></span></dt></dl></div><p>This chapter shows how to work with
Cayenne in a web application.</p><div class="section" title="Converting
Tutorial to a Web Application"><div class="titlepage"><div><div><h2
class="title"><a name="converting-to-webapp"></a>Converting Tutorial to a Web
Application</h2></div></div></div><p>The web part of the web application
tutorial is done in JSP, which is the least common
+ </script></head><body bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M4-SNAPSHOT)</th><th
align="center">Chapter 9. Converting to Web
Application</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p"
href="getting-started-part4.html">Prev</a> </td><th width="60%"
align="center"><a accesskey="u"
href="getting-started-part4.html">Part IV. Converting to Web
Application</a></th><td width="20%"
align="right"> </td></tr></table><hr></div><div class="chapter"
title="Chapter 9. Converting to Web Application"><div
class="titlepage"><div><div><h2 class="title"><a
name="d0e493"></a>Chapter 9. Converting to Web
Application</h2></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="section"><a href="ch09.html#converti
ng-to-webapp">Converting Tutorial to a Web
Application</a></span></dt><dt><span class="section"><a
href="ch09.html#running-webapp">Running Web
Application</a></span></dt></dl></div><p>This chapter shows how to work with
Cayenne in a web application.</p><div class="section" title="Converting
Tutorial to a Web Application"><div class="titlepage"><div><div><h2
class="title"><a name="converting-to-webapp"></a>Converting Tutorial to a Web
Application</h2></div></div></div><p>The web part of the web application
tutorial is done in JSP, which is the least common
denominator of the Java web technologies, and is intentionally
simplistic from the UI
perspective, to concentrate on Cayenne integration aspect, rather
than the interface. A
typical Cayenne web application works like this:</p><div
class="itemizedlist"><ul class="itemizedlist"><li class="listitem"><p>Cayenne
configuiration is loaded when an application context is started, using
Modified:
cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part1.html
URL:
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part1.html?rev=1732911&r1=1732910&r2=1732911&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part1.html
(original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part1.html
Mon Feb 29 16:00:23 2016
@@ -9,4 +9,4 @@
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 bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M3-SNAPSHOT)</th><th
align="center">Part I. Setting up the
environment</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p"
href="index.html">Prev</a> </td><th width="60%"
align="center"> </th><td width="20%" align="right"> <a accesskey="n"
href="ch01.html">Next</a></td></tr></table><hr></div><div class="part"
title="Part I. Setting up the environment"><div
class="titlepage"><div><div><h1 class="title"><a
name="getting-started-part1"></a>Part I. Setting up the
environment</h1></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="chapter"><a href="ch01.html">1.
Setup</a></span></dt><dd><dl><dt><span class="section"><a
href="ch01.html#install
-java">Install Java</a></span></dt><dt><span class="section"><a
href="ch01.html#install-eclipse-and-maven">Install Eclipse IDE and the Maven
Plugin</a></span></dt></dl></dd></dl></div></div><div
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td
width="40%" align="left"><a accesskey="p"
href="index.html">Prev</a> </td><td width="20%"
align="center"> </td><td width="40%" align="right"> <a accesskey="n"
href="ch01.html">Next</a></td></tr><tr><td width="40%" align="left"
valign="top">Getting Started with Cayenne </td><td width="20%"
align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%"
align="right"
valign="top"> Chapter 1. Setup</td></tr></table></div></body></html>
\ No newline at end of file
+ </script></head><body bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M4-SNAPSHOT)</th><th
align="center">Part I. Setting up the
environment</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p"
href="index.html">Prev</a> </td><th width="60%"
align="center"> </th><td width="20%" align="right"> <a accesskey="n"
href="ch01.html">Next</a></td></tr></table><hr></div><div class="part"
title="Part I. Setting up the environment"><div
class="titlepage"><div><div><h1 class="title"><a
name="getting-started-part1"></a>Part I. Setting up the
environment</h1></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="chapter"><a href="ch01.html">1.
Setup</a></span></dt><dd><dl><dt><span class="section"><a
href="ch01.html#install
-java">Install Java</a></span></dt><dt><span class="section"><a
href="ch01.html#install-eclipse-and-maven">Install Eclipse IDE and the Maven
Plugin</a></span></dt></dl></dd></dl></div></div><div
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td
width="40%" align="left"><a accesskey="p"
href="index.html">Prev</a> </td><td width="20%"
align="center"> </td><td width="40%" align="right"> <a accesskey="n"
href="ch01.html">Next</a></td></tr><tr><td width="40%" align="left"
valign="top">Getting Started with Cayenne </td><td width="20%"
align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%"
align="right"
valign="top"> Chapter 1. Setup</td></tr></table></div></body></html>
\ No newline at end of file
Modified:
cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part2.html
URL:
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part2.html?rev=1732911&r1=1732910&r2=1732911&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part2.html
(original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part2.html
Mon Feb 29 16:00:23 2016
@@ -9,4 +9,4 @@
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 bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M3-SNAPSHOT)</th><th
align="center">Part II. Learning mapping
basics</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p"
href="ch01.html">Prev</a> </td><th width="60%"
align="center"> </th><td width="20%" align="right"> <a accesskey="n"
href="ch02.html">Next</a></td></tr></table><hr></div><div class="part"
title="Part II. Learning mapping basics"><div
class="titlepage"><div><div><h1 class="title"><a
name="getting-started-part2"></a>Part II. Learning mapping
basics</h1></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="chapter"><a href="ch02.html">2. Starting a
project</a></span></dt><dd><dl><dt><span class="section"><a href="ch02.html#c
reate-new-project">Create a new Project in Eclipse </a></span></dt><dt><span
class="section"><a href="ch02.html#download-and-start-cayenne-modeler">Download
and Start CayenneModeler</a></span></dt><dt><span class="section"><a
href="ch02.html#create-new-mapping-project">Create a New Mapping Project in
CayenneModeler</a></span></dt><dt><span class="section"><a
href="ch02.html#create-datanode">Create a DataNode</a></span></dt><dt><span
class="section"><a href="ch02.html#create-datamap">Create a
DataMap</a></span></dt><dt><span class="section"><a
href="ch02.html#save-project">Save the
Project</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch03.html">3. Getting started with Object Relational Mapping
(ORM)</a></span></dt><dd><dl><dt><span class="section"><a
href="ch03.html#mapping-db-tables-and-columns">Mapping Database Tables and
Columns</a></span></dt><dt><span class="section"><a
href="ch03.html#mapping-db-relationships">Mapping Database
Relationships</a></span></dt><dt><sp
an class="section"><a href="ch03.html#mapping-java-classes">Mapping Java
Classes</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch04.html">4. Creating Java Classes</a></span></dt><dd><dl><dt><span
class="section"><a href="ch04.html#creating-java-classes">Creating Java
Classes</a></span></dt></dl></dd></dl></div></div><div
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td
width="40%" align="left"><a accesskey="p"
href="ch01.html">Prev</a> </td><td width="20%"
align="center"> </td><td width="40%" align="right"> <a accesskey="n"
href="ch02.html">Next</a></td></tr><tr><td width="40%" align="left"
valign="top">Chapter 1. Setup </td><td width="20%"
align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%"
align="right" valign="top"> Chapter 2. Starting a
project</td></tr></table></div></body></html>
\ No newline at end of file
+ </script></head><body bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M4-SNAPSHOT)</th><th
align="center">Part II. Learning mapping
basics</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p"
href="ch01.html">Prev</a> </td><th width="60%"
align="center"> </th><td width="20%" align="right"> <a accesskey="n"
href="ch02.html">Next</a></td></tr></table><hr></div><div class="part"
title="Part II. Learning mapping basics"><div
class="titlepage"><div><div><h1 class="title"><a
name="getting-started-part2"></a>Part II. Learning mapping
basics</h1></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="chapter"><a href="ch02.html">2. Starting a
project</a></span></dt><dd><dl><dt><span class="section"><a href="ch02.html#c
reate-new-project">Create a new Project in Eclipse </a></span></dt><dt><span
class="section"><a href="ch02.html#download-and-start-cayenne-modeler">Download
and Start CayenneModeler</a></span></dt><dt><span class="section"><a
href="ch02.html#create-new-mapping-project">Create a New Mapping Project in
CayenneModeler</a></span></dt><dt><span class="section"><a
href="ch02.html#create-datanode">Create a DataNode</a></span></dt><dt><span
class="section"><a href="ch02.html#create-datamap">Create a
DataMap</a></span></dt><dt><span class="section"><a
href="ch02.html#save-project">Save the
Project</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch03.html">3. Getting started with Object Relational Mapping
(ORM)</a></span></dt><dd><dl><dt><span class="section"><a
href="ch03.html#mapping-db-tables-and-columns">Mapping Database Tables and
Columns</a></span></dt><dt><span class="section"><a
href="ch03.html#mapping-db-relationships">Mapping Database
Relationships</a></span></dt><dt><sp
an class="section"><a href="ch03.html#mapping-java-classes">Mapping Java
Classes</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch04.html">4. Creating Java Classes</a></span></dt><dd><dl><dt><span
class="section"><a href="ch04.html#creating-java-classes">Creating Java
Classes</a></span></dt></dl></dd></dl></div></div><div
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td
width="40%" align="left"><a accesskey="p"
href="ch01.html">Prev</a> </td><td width="20%"
align="center"> </td><td width="40%" align="right"> <a accesskey="n"
href="ch02.html">Next</a></td></tr><tr><td width="40%" align="left"
valign="top">Chapter 1. Setup </td><td width="20%"
align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%"
align="right" valign="top"> Chapter 2. Starting a
project</td></tr></table></div></body></html>
\ No newline at end of file
Modified:
cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part3.html
URL:
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part3.html?rev=1732911&r1=1732910&r2=1732911&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part3.html
(original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part3.html
Mon Feb 29 16:00:23 2016
@@ -9,4 +9,4 @@
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 bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M3-SNAPSHOT)</th><th
align="center">Part III. Learning Cayenne
API</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p"
href="ch04.html">Prev</a> </td><th width="60%"
align="center"> </th><td width="20%" align="right"> <a accesskey="n"
href="ch05.html">Next</a></td></tr></table><hr></div><div class="part"
title="Part III. Learning Cayenne API"><div
class="titlepage"><div><div><h1 class="title"><a
name="getting-started-part3"></a>Part III. Learning Cayenne
API</h1></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="chapter"><a href="ch05.html">5. Getting
started with ObjectContext</a></span></dt><dd><dl><dt><span class="section"><a
href="c
h05.html#creating-main-class">Creating the Main Class</a></span></dt><dt><span
class="section"><a href="ch05.html#runnning-app">Running
Application</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch06.html">6. Getting started with persistent
objects</a></span></dt><dd><dl><dt><span class="section"><a
href="ch06.html#customizing-persistent-objects">Inspecting and Customizing
Persistent Objects</a></span></dt><dt><span class="section"><a
href="ch06.html#create-new-objects">Create New
Objects</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch07.html">7. Selecting Objects</a></span></dt><dd><dl><dt><span
class="section"><a href="ch07.html#introducing-select-query">Introducing
SelectQuery</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch08.html">8. Deleting Objects</a></span></dt><dd><dl><dt><span
class="section"><a href="ch08.html#setup-delete-rules">Setting Up Delete
Rules</a></span></dt><dt><span class="section"><a
href="ch08.html#deleting-objects"
>Deleting Objects</a></span></dt></dl></dd></dl></div></div><div
>class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td
>width="40%" align="left"><a accesskey="p"
>href="ch04.html">Prev</a> </td><td width="20%"
>align="center"> </td><td width="40%" align="right"> <a
>accesskey="n" href="ch05.html">Next</a></td></tr><tr><td width="40%"
>align="left" valign="top">Chapter 4. Creating Java
>Classes </td><td width="20%" align="center"><a accesskey="h"
>href="index.html">Home</a></td><td width="40%" align="right"
>valign="top"> Chapter 5. Getting started with
>ObjectContext</td></tr></table></div></body></html>
\ No newline at end of file
+ </script></head><body bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M4-SNAPSHOT)</th><th
align="center">Part III. Learning Cayenne
API</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p"
href="ch04.html">Prev</a> </td><th width="60%"
align="center"> </th><td width="20%" align="right"> <a accesskey="n"
href="ch05.html">Next</a></td></tr></table><hr></div><div class="part"
title="Part III. Learning Cayenne API"><div
class="titlepage"><div><div><h1 class="title"><a
name="getting-started-part3"></a>Part III. Learning Cayenne
API</h1></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="chapter"><a href="ch05.html">5. Getting
started with ObjectContext</a></span></dt><dd><dl><dt><span class="section"><a
href="c
h05.html#creating-main-class">Creating the Main Class</a></span></dt><dt><span
class="section"><a href="ch05.html#runnning-app">Running
Application</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch06.html">6. Getting started with persistent
objects</a></span></dt><dd><dl><dt><span class="section"><a
href="ch06.html#customizing-persistent-objects">Inspecting and Customizing
Persistent Objects</a></span></dt><dt><span class="section"><a
href="ch06.html#create-new-objects">Create New
Objects</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch07.html">7. Selecting Objects</a></span></dt><dd><dl><dt><span
class="section"><a href="ch07.html#introducing-select-query">Introducing
ObjectSelect</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch08.html">8. Deleting Objects</a></span></dt><dd><dl><dt><span
class="section"><a href="ch08.html#setup-delete-rules">Setting Up Delete
Rules</a></span></dt><dt><span class="section"><a
href="ch08.html#deleting-objects
">Deleting Objects</a></span></dt></dl></dd></dl></div></div><div
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td
width="40%" align="left"><a accesskey="p"
href="ch04.html">Prev</a> </td><td width="20%"
align="center"> </td><td width="40%" align="right"> <a accesskey="n"
href="ch05.html">Next</a></td></tr><tr><td width="40%" align="left"
valign="top">Chapter 4. Creating Java Classes </td><td
width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td
width="40%" align="right" valign="top"> Chapter 5. Getting
started with ObjectContext</td></tr></table></div></body></html>
\ No newline at end of file
Modified:
cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part4.html
URL:
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part4.html?rev=1732911&r1=1732910&r2=1732911&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part4.html
(original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part4.html
Mon Feb 29 16:00:23 2016
@@ -9,4 +9,4 @@
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 bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M3-SNAPSHOT)</th><th
align="center">Part IV. Converting to Web
Application</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p"
href="ch08.html">Prev</a> </td><th width="60%"
align="center"> </th><td width="20%" align="right"> <a accesskey="n"
href="ch09.html">Next</a></td></tr></table><hr></div><div class="part"
title="Part IV. Converting to Web Application"><div
class="titlepage"><div><div><h1 class="title"><a
name="getting-started-part4"></a>Part IV. Converting to Web
Application</h1></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="chapter"><a href="ch09.html">9. Converting
to Web Application</a></span></dt><dd><dl><dt><span class="
section"><a href="ch09.html#converting-to-webapp">Converting Tutorial to a Web
Application</a></span></dt><dt><span class="section"><a
href="ch09.html#running-webapp">Running Web
Application</a></span></dt></dl></dd></dl></div></div><div
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td
width="40%" align="left"><a accesskey="p"
href="ch08.html">Prev</a> </td><td width="20%"
align="center"> </td><td width="40%" align="right"> <a accesskey="n"
href="ch09.html">Next</a></td></tr><tr><td width="40%" align="left"
valign="top">Chapter 8. Deleting Objects </td><td width="20%"
align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%"
align="right" valign="top"> Chapter 9. Converting to Web
Application</td></tr></table></div></body></html>
\ No newline at end of file
+ </script></head><body bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M4-SNAPSHOT)</th><th
align="center">Part IV. Converting to Web
Application</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p"
href="ch08.html">Prev</a> </td><th width="60%"
align="center"> </th><td width="20%" align="right"> <a accesskey="n"
href="ch09.html">Next</a></td></tr></table><hr></div><div class="part"
title="Part IV. Converting to Web Application"><div
class="titlepage"><div><div><h1 class="title"><a
name="getting-started-part4"></a>Part IV. Converting to Web
Application</h1></div></div></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="chapter"><a href="ch09.html">9. Converting
to Web Application</a></span></dt><dd><dl><dt><span class="
section"><a href="ch09.html#converting-to-webapp">Converting Tutorial to a Web
Application</a></span></dt><dt><span class="section"><a
href="ch09.html#running-webapp">Running Web
Application</a></span></dt></dl></dd></dl></div></div><div
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td
width="40%" align="left"><a accesskey="p"
href="ch08.html">Prev</a> </td><td width="20%"
align="center"> </td><td width="40%" align="right"> <a accesskey="n"
href="ch09.html">Next</a></td></tr><tr><td width="40%" align="left"
valign="top">Chapter 8. Deleting Objects </td><td width="20%"
align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%"
align="right" valign="top"> Chapter 9. Converting to Web
Application</td></tr></table></div></body></html>
\ No newline at end of file
Modified: cayenne/site/cms/trunk/content/docs/4.0/tutorial/index.html
URL:
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/index.html?rev=1732911&r1=1732910&r2=1732911&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/index.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/index.html Mon Feb 29
16:00:23 2016
@@ -9,7 +9,7 @@
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 bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M3-SNAPSHOT)</th><th align="center">Getting
Started with Cayenne</th><th></th></tr><tr><td width="20%"
align="left"> </td><th width="60%" align="center"> </th><td
width="20%" align="right"> <a accesskey="n"
href="getting-started-part1.html">Next</a></td></tr></table><hr></div><div
class="book" title="Getting Started with Cayenne"><div
class="titlepage"><div><div><h1 class="title"><a
name="getting-started"></a>Getting Started with Cayenne</h1></div><div><p
class="copyright">Copyright © 2011-2014 Apache Software Foundation and
individual authors</p></div><div><div class="legalnotice" title="License"><a
name="d0e11"></a><p class="legalnotice-title"><b>License</b></p><p>Licensed to
the Apache Software Foundation (AS
F) under one or more contributor
+ </script></head><body bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"
class="navheader"><table width="100%" summary="Navigation header"><tr><th
class="versioninfo">v.4.0 (4.0.M4-SNAPSHOT)</th><th align="center">Getting
Started with Cayenne</th><th></th></tr><tr><td width="20%"
align="left"> </td><th width="60%" align="center"> </th><td
width="20%" align="right"> <a accesskey="n"
href="getting-started-part1.html">Next</a></td></tr></table><hr></div><div
class="book" title="Getting Started with Cayenne"><div
class="titlepage"><div><div><h1 class="title"><a
name="getting-started"></a>Getting Started with Cayenne</h1></div><div><p
class="copyright">Copyright © 2011-2014 Apache Software Foundation and
individual authors</p></div><div><div class="legalnotice" title="License"><a
name="d0e11"></a><p class="legalnotice-title"><b>License</b></p><p>Licensed to
the Apache Software Foundation (AS
F) under one or more contributor
license agreements. See the NOTICE file distributed with this
work for additional
information regarding copyright ownership. The ASF licenses
this file to you under
the Apache License, Version 2.0 (the "License"); you may not
use this file except in
@@ -17,4 +17,4 @@
http://www.apache.org/licenses/LICENSE-2.0</p><p>Unless
required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific
- language governing permissions and limitations under the
License.</p></div></div></div><hr></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="part"><a
href="getting-started-part1.html">I. Setting up the
environment</a></span></dt><dd><dl><dt><span class="chapter"><a
href="ch01.html">1. Setup</a></span></dt><dd><dl><dt><span class="section"><a
href="ch01.html#install-java">Install Java</a></span></dt><dt><span
class="section"><a href="ch01.html#install-eclipse-and-maven">Install Eclipse
IDE and the Maven Plugin</a></span></dt></dl></dd></dl></dd><dt><span
class="part"><a href="getting-started-part2.html">II. Learning mapping
basics</a></span></dt><dd><dl><dt><span class="chapter"><a href="ch02.html">2.
Starting a project</a></span></dt><dd><dl><dt><span class="section"><a
href="ch02.html#create-new-project">Create a new Project in Eclipse
</a></span></dt><dt><span class="section"><a
href="ch02.html#download-and-start-cayenne-modeler">Download a
nd Start CayenneModeler</a></span></dt><dt><span class="section"><a
href="ch02.html#create-new-mapping-project">Create a New Mapping Project in
CayenneModeler</a></span></dt><dt><span class="section"><a
href="ch02.html#create-datanode">Create a DataNode</a></span></dt><dt><span
class="section"><a href="ch02.html#create-datamap">Create a
DataMap</a></span></dt><dt><span class="section"><a
href="ch02.html#save-project">Save the
Project</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch03.html">3. Getting started with Object Relational Mapping
(ORM)</a></span></dt><dd><dl><dt><span class="section"><a
href="ch03.html#mapping-db-tables-and-columns">Mapping Database Tables and
Columns</a></span></dt><dt><span class="section"><a
href="ch03.html#mapping-db-relationships">Mapping Database
Relationships</a></span></dt><dt><span class="section"><a
href="ch03.html#mapping-java-classes">Mapping Java
Classes</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch04.html">4. Cre
ating Java Classes</a></span></dt><dd><dl><dt><span class="section"><a
href="ch04.html#creating-java-classes">Creating Java
Classes</a></span></dt></dl></dd></dl></dd><dt><span class="part"><a
href="getting-started-part3.html">III. Learning Cayenne
API</a></span></dt><dd><dl><dt><span class="chapter"><a href="ch05.html">5.
Getting started with ObjectContext</a></span></dt><dd><dl><dt><span
class="section"><a href="ch05.html#creating-main-class">Creating the Main
Class</a></span></dt><dt><span class="section"><a
href="ch05.html#runnning-app">Running
Application</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch06.html">6. Getting started with persistent
objects</a></span></dt><dd><dl><dt><span class="section"><a
href="ch06.html#customizing-persistent-objects">Inspecting and Customizing
Persistent Objects</a></span></dt><dt><span class="section"><a
href="ch06.html#create-new-objects">Create New
Objects</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch07.html">
7. Selecting Objects</a></span></dt><dd><dl><dt><span class="section"><a
href="ch07.html#introducing-select-query">Introducing
SelectQuery</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch08.html">8. Deleting Objects</a></span></dt><dd><dl><dt><span
class="section"><a href="ch08.html#setup-delete-rules">Setting Up Delete
Rules</a></span></dt><dt><span class="section"><a
href="ch08.html#deleting-objects">Deleting
Objects</a></span></dt></dl></dd></dl></dd><dt><span class="part"><a
href="getting-started-part4.html">IV. Converting to Web
Application</a></span></dt><dd><dl><dt><span class="chapter"><a
href="ch09.html">9. Converting to Web
Application</a></span></dt><dd><dl><dt><span class="section"><a
href="ch09.html#converting-to-webapp">Converting Tutorial to a Web
Application</a></span></dt><dt><span class="section"><a
href="ch09.html#running-webapp">Running Web
Application</a></span></dt></dl></dd></dl></dd></dl></div></div><div
class="navfooter"><hr><table width="100%"
summary="Navigation footer"><tr><td width="40%" align="left"> </td><td
width="20%" align="center"> </td><td width="40%" align="right"> <a
accesskey="n" href="getting-started-part1.html">Next</a></td></tr><tr><td
width="40%" align="left" valign="top"> </td><td width="20%"
align="center"> </td><td width="40%" align="right"
valign="top"> Part I. Setting up the
environment</td></tr></table></div></body></html>
\ No newline at end of file
+ language governing permissions and limitations under the
License.</p></div></div></div><hr></div><div class="toc"><p><b>Table of
Contents</b></p><dl><dt><span class="part"><a
href="getting-started-part1.html">I. Setting up the
environment</a></span></dt><dd><dl><dt><span class="chapter"><a
href="ch01.html">1. Setup</a></span></dt><dd><dl><dt><span class="section"><a
href="ch01.html#install-java">Install Java</a></span></dt><dt><span
class="section"><a href="ch01.html#install-eclipse-and-maven">Install Eclipse
IDE and the Maven Plugin</a></span></dt></dl></dd></dl></dd><dt><span
class="part"><a href="getting-started-part2.html">II. Learning mapping
basics</a></span></dt><dd><dl><dt><span class="chapter"><a href="ch02.html">2.
Starting a project</a></span></dt><dd><dl><dt><span class="section"><a
href="ch02.html#create-new-project">Create a new Project in Eclipse
</a></span></dt><dt><span class="section"><a
href="ch02.html#download-and-start-cayenne-modeler">Download a
nd Start CayenneModeler</a></span></dt><dt><span class="section"><a
href="ch02.html#create-new-mapping-project">Create a New Mapping Project in
CayenneModeler</a></span></dt><dt><span class="section"><a
href="ch02.html#create-datanode">Create a DataNode</a></span></dt><dt><span
class="section"><a href="ch02.html#create-datamap">Create a
DataMap</a></span></dt><dt><span class="section"><a
href="ch02.html#save-project">Save the
Project</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch03.html">3. Getting started with Object Relational Mapping
(ORM)</a></span></dt><dd><dl><dt><span class="section"><a
href="ch03.html#mapping-db-tables-and-columns">Mapping Database Tables and
Columns</a></span></dt><dt><span class="section"><a
href="ch03.html#mapping-db-relationships">Mapping Database
Relationships</a></span></dt><dt><span class="section"><a
href="ch03.html#mapping-java-classes">Mapping Java
Classes</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch04.html">4. Cre
ating Java Classes</a></span></dt><dd><dl><dt><span class="section"><a
href="ch04.html#creating-java-classes">Creating Java
Classes</a></span></dt></dl></dd></dl></dd><dt><span class="part"><a
href="getting-started-part3.html">III. Learning Cayenne
API</a></span></dt><dd><dl><dt><span class="chapter"><a href="ch05.html">5.
Getting started with ObjectContext</a></span></dt><dd><dl><dt><span
class="section"><a href="ch05.html#creating-main-class">Creating the Main
Class</a></span></dt><dt><span class="section"><a
href="ch05.html#runnning-app">Running
Application</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch06.html">6. Getting started with persistent
objects</a></span></dt><dd><dl><dt><span class="section"><a
href="ch06.html#customizing-persistent-objects">Inspecting and Customizing
Persistent Objects</a></span></dt><dt><span class="section"><a
href="ch06.html#create-new-objects">Create New
Objects</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch07.html">
7. Selecting Objects</a></span></dt><dd><dl><dt><span class="section"><a
href="ch07.html#introducing-select-query">Introducing
ObjectSelect</a></span></dt></dl></dd><dt><span class="chapter"><a
href="ch08.html">8. Deleting Objects</a></span></dt><dd><dl><dt><span
class="section"><a href="ch08.html#setup-delete-rules">Setting Up Delete
Rules</a></span></dt><dt><span class="section"><a
href="ch08.html#deleting-objects">Deleting
Objects</a></span></dt></dl></dd></dl></dd><dt><span class="part"><a
href="getting-started-part4.html">IV. Converting to Web
Application</a></span></dt><dd><dl><dt><span class="chapter"><a
href="ch09.html">9. Converting to Web
Application</a></span></dt><dd><dl><dt><span class="section"><a
href="ch09.html#converting-to-webapp">Converting Tutorial to a Web
Application</a></span></dt><dt><span class="section"><a
href="ch09.html#running-webapp">Running Web
Application</a></span></dt></dl></dd></dl></dd></dl></div></div><div
class="navfooter"><hr><table width="100%
" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td
width="20%" align="center"> </td><td width="40%" align="right"> <a
accesskey="n" href="getting-started-part1.html">Next</a></td></tr><tr><td
width="40%" align="left" valign="top"> </td><td width="20%"
align="center"> </td><td width="40%" align="right"
valign="top"> Part I. Setting up the
environment</td></tr></table></div></body></html>
\ No newline at end of file