openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r841236 [11/35] - in /websites/staging/openjpa/trunk/content: ./ artifacts/ css/ images/ images/datacache-plugin/
Date Sun, 09 Dec 2012 13:13:50 GMT
Added: websites/staging/openjpa/trunk/content/downloads.html
==============================================================================
--- websites/staging/openjpa/trunk/content/downloads.html (added)
+++ websites/staging/openjpa/trunk/content/downloads.html Sun Dec  9 13:13:35 2012
@@ -0,0 +1,594 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+Licensed to the Apache Software Foundation (ASF) 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 compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+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.
+-->
+<html lang="en">
+    <head>
+        <META http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+        <link href="http://openjpa.apache.org/styles/site.css" rel="stylesheet" type="text/css"/>
+        <!-- <link href="http://openjpa.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css"/> -->
+        <link href="./css/type-settings.css" rel="stylesheet" type="text/css"/>
+        <LINK rel="schema.DC" href="http://purl.org/DC/elements/1.0/">
+        <META name="Description" content="Apache OpenJPA -- Downloads
" />
+        <META name="Keywords" content="Apache OpenJPA, JPA, JPA 1.0, JSR-220, JPA2, JPA 2.0, JSR-317, " />
+        <META name="Owner" content="dev@openjpa.apache.org" />
+        <META name="Robots" content="index, follow" />
+        <META name="Security" content="Public" />
+        <META name="Source" content="wiki template" />
+        <META name="DC.Date" scheme="iso8601" content="2010-08-11" />
+        <META name="DC.Language" scheme="rfc1766" content="en" />
+        <META name="DC.Rights" content="Copyright © 2006,2010 The Apache Software Foundation" />
+        <META http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))'/>
+
+        <title>
+            Apache OpenJPA --
+        </title>
+    </head>
+    <body>
+        <div class="white_box">
+            <div class="header">
+                <div class="header_l">
+                    <div class="header_r">
+                    </div>
+                </div>
+            </div>
+            <div class="content">
+                <div class="content_l">
+                    <div class="content_r">
+                        <div>
+                            <!-- Banner -->
+                            <TABLE valign="top" border="0" cellspacing="0" cellpadding="5" width="100%" background="images/header-bg3.png">
+                                <TR>
+                                    <TD valing="top" align="left">
+                                        <A href="http://openjpa.apache.org/"><IMG src="images/openjpa-logo.png" border="0" alt="OpenJPA Logo"></A>
+                                    </TD>
+                                    <TD width="100%">
+                                        &nbsp;
+                                    </TD>
+                                    <TD valing="top" align="right">
+                                        <A href="http://www.apache.org/"><IMG src="images/asf_logo_wide2.png" border="0" alt="ASF Logo"></A>
+                                    </TD>
+                                </TR>
+                            </TABLE>
+
+                            <!-- Navigation Bar -->
+                            <div class="bottom_red_bar">
+                                <div id="site-breadcrumbs">
+                                    <!-- Breadcrumbs --
+                                    <a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/downloads.html">Downloads
</a>
+                                     -- Breadcrumbs -->
+                                </div>
+                            </div>
+
+                            <!-- Content -->
+                            <table border="0">
+                                <tbody>
+                                    <tr>
+                                        <td valign="top">
+                                            <div class="navigation">
+                                                <div class="navigation_top">
+                                                    <div class="navigation_bottom">
+                                                        <!-- NavigationBar -->
+                                                        <h3><a name="SideNav-Overview"></a><a href="overview.html" title="Overview">Overview</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="quick-start.html" title="Quick Start">Quick Start</a></li>
+                                                            <li><a href="documentation.html" title="Documentation">Documentation</a></li>
+                                                            <li><a href="downloads.html" title="Downloads">Downloads</a></li>
+                                                            <li><a href="site-index.html" title="Site Index">Site Index</a></li>
+                                                            <li><a href="license.html" title="License">License</a></li>
+                                                            <li><a href="privacy-policy.html" title="Privacy Policy">Privacy Policy</a></li>
+                                                        </ul>
+
+                                                        <h3><a name="SideNav-Community"></a><a href="community.html" title="Community">Community</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="index.html#Index-eventsandnews" title="Events and News">Events and News</a></li>
+                                                            <li><a href="found-a-bug.html" title="Found a Bug">Found a Bug</a>?</li>
+                                                            <li><a href="get-involved.html" title="Get Involved">Get Involved</a></li>
+                                                            <li><a href="mailing-lists.html" title="Mailing Lists">Mailing Lists</a></li>
+                                                            <li><a href="committers.html" title="Committers">Committers</a></li>
+                                                            <li><a href="integration.html" title="Integration">Integration</a></li>
+                                                            <li><a href="powered-by.html" title="Powered By">Powered By</a></li>
+                                                            <li><a href="thanks.html" title="Thanks">Thanks</a></li>
+                                                        </ul>
+
+
+                                                        <h3><a name="SideNav-Development"></a><a href="development.html" title="Development">Development</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="http://issues.apache.org/jira/browse/OPENJPA" class="external-link" rel="nofollow">Issue Tracker</a></li>
+                                                            <li><a href="source-code.html" title="Source Code">Source Code</a></li>
+                                                            <li><a href="testing.html" title="Testing">Testing</a></li>
+                                                            <li><a href="tools.html" title="Tools">Tools</a></li>
+                                                            <li><a href="samples.html" title="Samples">Samples</a></li>
+                                                            <li><a href="release-management.html" title="Release Management">Release Management</a></li>
+                                                        </ul>
+
+                                                        <h3>Search</h3>
+
+                                                        <div style="padding: 5px 5px 0px 25px;">
+                                                            <form action="http://www.google.com/search" method="get" style="font-size: 10px;">
+                                                                <input name="ie" type="hidden" value="UTF-8">
+                                                                <input name="oe" type="hidden" value="UTF-8">
+                                                                <input maxlength="255" name="q" size="9" type="text" value=""><br><br>
+                                                                <input name="btnG" type="submit" value="Google">
+                                                                <input name="domains" type="hidden" value="openjpa.apache.org">
+                                                                <input name="sitesearch" type="hidden" value="openjpa.apache.org">
+                                                            </form>
+                                                        </div>
+                                                    </div>
+                                                </div>
+                                            </div>
+                                        </td>
+                                        <td valign="top" width="100%" style="overflow:hidden;">
+                                            <div class="wiki-content">
+                                                <p><a name="Downloads"></a></p>
+<p><a name="Downloads-OpenJPADownloads"></a></p>
+<h1 id="openjpa-downloads">OpenJPA Downloads</h1>
+<p>Use the links below to download a distribution of Apache OpenJPA. It is
+good practice to <a href="#verifying-releases.html">verify the integrity</a>
+ of the distribution files.</p>
+<p>For information on obtaining OpenJPA binaries, see the <a href="obtaining.html">Obtaining</a>
+ page. For information on building OpenJPA from source, see the [Building]
+ page.</p>
+<p><a name="Downloads-OfficialJPA2.0Releases"></a></p>
+<h2 id="official-jpa-20-releases">Official JPA 2.0 Releases</h2>
+<p>These releases implement the <a href="http://jcp.org/en/jsr/detail?id=317">JSR-317 Java Persistence 2.0</a>
+ specification and pass the JPA 2.0 TCK.</p>
+<p><a name="Downloads-2.2.xReleases"></a></p>
+<h3 id="22x-releases">2.2.x Releases</h3>
+<table>
+<tr><th> </th><th> Download </th><th> Release Date </th><th> Checksum </th><th> Signatures </th></tr>
+<tr><td class="border"> OpenJPA 2.2.1 Binary </td>
+    <td class="border"> <a href="http://www.apache.org/dyn/closer.cgi/openjpa/2.2.1/apache-openjpa-2.2.1-binary.zip">apache-openjpa-2.2.1-binary.zip</a></td>
+    <td class="border"> 1 November 2012 </td>
+    <td class="border"> <a href="http://www.apache.org/dist/openjpa/2.2.1/apache-openjpa-2.2.1-binary.zip.md5">MD5</a></td>
+    <td class="border"> <a href="http://www.apache.org/dist/openjpa/2.2.1/apache-openjpa-2.2.1-binary.zip.asc">PGP</a></td>
+</tr>
+<tr><td class="border"> OpenJPA 2.2.1 Source </td>
+    <td class="border"> <a href="http://www.apache.org/dyn/closer.cgi/openjpa/2.2.1/apache-openjpa-2.2.1-source.zip">apache-openjpa-2.2.1-source.zip</a>
+    <td class="border"> 1 November 2012 </td>
+    <td class="border"> <a href="http://www.apache.org/dist/openjpa/2.2.1/apache-openjpa-2.2.1-source.zip.md5">MD5</a>
+    <td class="border"> <a href="http://www.apache.org/dist/openjpa/2.2.1/apache-openjpa-2.2.1-source.zip.asc">PGP</a>
+</tr>
+<tr><td class="border"> OpenJPA 2.2.1 Release Notes </td>
+    <td class="border"> <a href="http://openjpa.apache.org/builds/2.2.1/apache-openjpa/RELEASE-NOTES.html">RELEASE-NOTES.html</a>
+    <td class="border"> 1 November 2012 </td>
+    <td class="border"> </td><td class="border"> </td>
+</tr>
+<tr><td class="border"> OpenJPA 2.2.0 Binary </td>
+    <td class="border"> <a href="http://www.apache.org/dyn/closer.cgi/openjpa/2.2.0/apache-openjpa-2.2.0-binary.zip">apache-openjpa-2.2.0-binary.zip</a> <a href="#missing.asm">(**)</a></td>
+    <td class="border"> 20 February 2012 </td>
+    <td class="border"> <a href="http://www.apache.org/dist/openjpa/2.2.0/apache-openjpa-2.2.0-binary.zip.md5">MD5</a></td>
+    <td class="border"> <a href="http://www.apache.org/dist/openjpa/2.2.0/apache-openjpa-2.2.0-binary.zip.asc">PGP</a></td>
+</tr>
+<tr><td class="border"> OpenJPA 2.2.0 Source </td>
+    <td class="border"> <a href="http://www.apache.org/dyn/closer.cgi/openjpa/2.2.0/apache-openjpa-2.2.0-source.zip">apache-openjpa-2.2.0-source.zip</a>
+    <td class="border"> 20 February 2012 </td>
+    <td class="border"> <a href="http://www.apache.org/dist/openjpa/2.2.0/apache-openjpa-2.2.0-source.zip.md5">MD5</a>
+    <td class="border"> <a href="http://www.apache.org/dist/openjpa/2.2.0/apache-openjpa-2.2.0-source.zip.asc">PGP</a>
+</tr>
+<tr><td class="border"> OpenJPA 2.2.0 Release Notes </td>
+    <td class="border"> <a href="http://openjpa.apache.org/builds/2.2.0/apache-openjpa/RELEASE-NOTES.html">RELEASE-NOTES.html</a>
+    <td class="border"> 20 February 2012 </td><td class="border"> </td><td class="border"> </td>
+</tr>
+</table>
+
+<p><a name="Downloads-2.1.xReleases"></a></p>
+<h3 id="21x-releases">2.1.x Releases</h3>
+<table>
+<tr><th> </th><th> Download </th><th> Release Date </th><th> Checksum </th><th> Signatures </th></tr>
+<tr><td class="border"> OpenJPA 2.1.1 Binary </td>
+    <td class="border"> <a href="http://www.apache.org/dyn/closer.cgi/openjpa/2.1.1/apache-openjpa-2.1.1-binary.zip">apache-openjpa-2.1.1-binary.zip</a>
+    <td class="border"> 25 July 2011
+    <td class="border"> <a href="http://www.apache.org/dist/openjpa/2.1.1/apache-openjpa-2.1.1-binary.zip.md5">MD5</a>
+    <td class="border"> <a href="http://www.apache.org/dist/openjpa/2.1.1/apache-openjpa-2.1.1-binary.zip.asc">PGP</a>
+</tr>
+<tr><td class="border"> OpenJPA 2.1.1 Source </td>
+    <td class="border"> <a href="http://www.apache.org/dyn/closer.cgi/openjpa/2.1.1/apache-openjpa-2.1.1-source.zip">apache-openjpa-2.1.1-source.zip</a>
+    <td class="border"> 25 July 2011 </td>
+    <td class="border"> <a href="http://www.apache.org/dist/openjpa/2.1.1/apache-openjpa-2.1.1-source.zip.md5">MD5</a>
+    <td class="border"> <a href="http://www.apache.org/dist/openjpa/2.1.1/apache-openjpa-2.1.1-source.zip.asc">PGP</a>
+</tr>
+<tr><td class="border"> OpenJPA 2.1.1 Release Notes </td>
+    <td class="border"> <a href="http://openjpa.apache.org/builds/2.1.1/apache-openjpa-2.1.1/RELEASE-NOTES.html">RELEASE-NOTES.html</a>
+    <td class="border"> 25 July 2011 </td>
+    <td class="border"> </td><td class="border"> </td>
+</tr>
+<tr><td class="border"> OpenJPA 2.1.0 Binary </td>
+    <td class="border"> <a href="http://www.apache.org/dyn/closer.cgi/openjpa/2.1.0/apache-openjpa-2.1.0-binary.zip">apache-openjpa-2.1.0-binary.zip</a>
+    <td class="border"> 21 February 2011 </td>
+    <td class="border"> <a href="http://www.apache.org/dist/openjpa/2.1.0/apache-openjpa-2.1.0-binary.zip.md5">MD5</a>
+    <td class="border"> <a href="http://www.apache.org/dist/openjpa/2.1.0/apache-openjpa-2.1.0-binary.zip.asc">PGP</a>
+</tr>
+<tr><td class="border"> OpenJPA 2.1.0 Source </td>
+    <td class="border"> <a href="http://www.apache.org/dyn/closer.cgi/openjpa/2.1.0/apache-openjpa-2.1.0-source.zip">apache-openjpa-2.1.0-source.zip</a>
+    <td class="border"> 21 February 2011 </td>
+    <td class="border"> <a href="http://www.apache.org/dist/openjpa/2.1.0/apache-openjpa-2.1.0-source.zip.md5">MD5</a>
+    <td class="border"> <a href="http://www.apache.org/dist/openjpa/2.1.0/apache-openjpa-2.1.0-source.zip.asc">PGP</a>
+</tr>
+<tr><td class="border"> OpenJPA 2.1.0 Release Notes </td>
+    <td class="border"> <a href="http://openjpa.apache.org/builds/2.1.0/apache-openjpa-2.1.0/RELEASE-NOTES.html">RELEASE-NOTES.html</a>
+    <td class="border"> 21 February 2011 </td>
+    <td class="border"> </td><td class="border"> </td>
+</tr>
+</table>
+
+<p><a name="Downloads-2.0.xReleases"></a></p>
+<h3 id="20x-releases">2.0.x Releases</h3>
+<table>
+<tr><th> </th><th> Download </th><th> Release Date </th><th> Checksum </th><th> Signatures </th></tr>
+<tr><td class="border"> OpenJPA 2.0.1 Binary </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/2.0.1/apache-openjpa-2.0.1-binary.zip">apache-openjpa-2.0.1-binary.zip</a>
+    <td class="border"> 30 August 2010 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/2.0.1/apache-openjpa-2.0.1-binary.zip.md5">MD5</a>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/2.0.1/apache-openjpa-2.0.1-binary.zip.asc">PGP</a>
+</tr>
+<tr><td class="border"> OpenJPA 2.0.1 Source </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/2.0.1/apache-openjpa-2.0.1-source.zip">apache-openjpa-2.0.1-source.zip</a>
+    <td class="border"> 30 August 2010 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/2.0.1/apache-openjpa-2.0.1-source.zip.md5">MD5</a>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/2.0.1/apache-openjpa-2.0.1-source.zip.asc">PGP</a>
+</tr>
+<tr><td class="border"> OpenJPA 2.0.1 Release Notes </td>
+    <td class="border"> <a href="http://openjpa.apache.org/builds/2.0.1/apache-openjpa-2.0.1/RELEASE-NOTES.html">RELEASE-NOTES.html</a>
+    <td class="border"> 30 August 2010 </td>
+    <td class="border"> </td><td class="border"> </td>
+</tr>
+<tr><td class="border"> OpenJPA 2.0.0 Binary </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/2.0.0/apache-openjpa-2.0.0-binary.zip">apache-openjpa-2.0.0-binary.zip</a>
+    <td class="border"> 22 April 2010 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/2.0.0/apache-openjpa-2.0.0-binary.zip.md5">MD5</a>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/2.0.0/apache-openjpa-2.0.0-binary.zip.asc">PGP</a>
+</tr>
+<tr><td class="border"> OpenJPA 2.0.0 Source </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/2.0.0/apache-openjpa-2.0.0-source.zip">apache-openjpa-2.0.0-source.zip</a>
+    <td class="border"> 22 April 2010 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/2.0.0/apache-openjpa-2.0.0-source.zip.md5">MD5</a>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/2.0.0/apache-openjpa-2.0.0-source.zip.asc">PGP</a>
+</tr>
+<tr><td class="border"> OpenJPA 2.0.0 Release Notes </td>
+    <td class="border"> <a href="http://openjpa.apache.org/builds/2.0.0/apache-openjpa-2.0.0/RELEASE-NOTES.html">RELEASE-NOTES.html</a>
+    <td class="border"> 22 April 2010 </td>
+    <td class="border"> </td><td class="border"> </td>
+</tr>
+</table>
+
+<p><a name="Downloads-OfficialJPA1.0Releases"></a></p>
+<h2 id="official-jpa-10-releases">Official JPA 1.0 Releases</h2>
+<p>These releases implement the <a href="http://jcp.org/en/jsr/detail?id=220">JSR-220 Java Persistence 1.0</a>
+ specification and pass the Sun JPA 1.0b Technology Compatibility Kit.</p>
+<p><a name="Downloads-1.2.xReleases"></a></p>
+<h3 id="12x-releases">1.2.x Releases</h3>
+<table>
+<tr><th> </th><th> Download </th><th> Release Date </th><th> Signatures </th><th> Release Notes </th></tr>
+<tr><td class="border"> OpenJPA 1.2.2 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.2.2/apache-openjpa-1.2.2-binary.zip">apache-openjpa-1.2.2-binary.zip</a>
+    <td class="border"> 18 Jan 2010 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.2.2/apache-openjpa-1.2.2-binary.zip.asc">PGP</a>
+    <td class="border"> <a href="http://openjpa.apache.org/builds/1.2.2/apache-openjpa-1.2.2/RELEASE-NOTES.html">Release Notes</a>
+</tr>
+<tr><td class="border"> OpenJPA 1.2.2 Source Code </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.2.2/apache-openjpa-1.2.2-source.zip">apache-openjpa-1.2.2-source.zip</a>
+    <td class="border"> 18 Jan 2010 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.2.2/apache-openjpa-1.2.2-source.zip.asc">PGP</a>
+    <td class="border"> </td>
+</tr>
+<tr><td class="border"> OpenJPA 1.2.1 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.2.1/apache-openjpa-1.2.1-binary.zip">apache-openjpa-1.2.1-binary.zip</a>
+    <td class="border"> 18 Mar 2009 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.2.1/apache-openjpa-1.2.1-binary.zip.asc">PGP</a>
+    <td class="border"> <a href="http://openjpa.apache.org/builds/1.2.1/apache-openjpa-1.2.1/RELEASE-NOTES.html">Release Notes</a>
+</tr>
+<tr><td class="border"> OpenJPA 1.2.1 Source Code </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.2.1/apache-openjpa-1.2.1-binary.zip">apache-openjpa-1.2.1-source.zip</a>
+    <td class="border"> 18 Mar 2009 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.2.1/apache-openjpa-1.2.1-source.zip.asc">PGP</a>
+    <td class="border"> </td>
+</tr>
+<tr><td class="border"> OpenJPA 1.2.0 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.2.0/apache-openjpa-1.2.0-binary.zip">apache-openjpa-1.2.0-binary.zip</a>
+    <td class="border"> 14 Aug 2008 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.2.0/apache-openjpa-1.2.0-binary.zip.asc">PGP</a>
+    <td class="border"> <a href="http://openjpa.apache.org/builds/1.2.0/apache-openjpa-1.2.0/RELEASE-NOTES.html">Release Notes</a>
+</tr>
+<tr><td class="border"> OpenJPA 1.2.0 Source Code </td>
+     <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.2.0/apache-openjpa-1.2.0-binary.zip">apache-openjpa-1.2.0-source.zip</a>
+     <td class="border"> 14 Aug 2008 </td>
+     <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.2.0/apache-openjpa-1.2.0-source.zip.asc">PGP</a>
+     <td class="border"> </td>
+</tr>
+</table>
+
+<p><a name="Downloads-1.1.xReleases"></a></p>
+<h3 id="11x-releases">1.1.x Releases</h3>
+<table>
+<tr><th> </th><th> Download </th><th> Release Date </th><th> Signatures </th><th> Release Notes </th></tr>
+<tr><td class="border"> OpenJPA 1.1.0 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.1.0/apache-openjpa-1.1.0-binary.zip">apache-openjpa-1.1.0-binary.zip</a>
+    <td class="border"> 22 May 2008 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.1.0/apache-openjpa-1.1.0-binary.zip.asc">PGP</a>
+    <td class="border"> <a href="http://openjpa.apache.org/builds/1.1.0/apache-openjpa-1.1.0/RELEASE-NOTES.html">Release Notes</a>
+</tr>
+<tr><td class="border"> OpenJPA 1.1.0 Source Code </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.1.0/apache-openjpa-1.1.0-source.zip">apache-openjpa-1.1.0-source.zip</a>
+    <td class="border"> 22 May 2008 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.1.0/apache-openjpa-1.1.0-source.zip.asc">PGP</a>
+    <td class="border"> </td>
+</tr>
+</table>
+
+<p><a name="Downloads-1.0.x Releases"></a></p>
+<h3 id="10x-releases">1.0.x Releases</h3>
+<table>
+<tr><th> </th><th> Download </th><th> Release Date </th><th> Signatures </th><th> Release Notes </th></tr>
+<tr><td class="border"> OpenJPA 1.0.4 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.4/apache-openjpa-1.0.4-binary.zip">apache-openjpa-1.0.4-binary.zip</a>
+    <td class="border"> 18 Jan 2010 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.4/apache-openjpa-1.0.4-binary.zip.asc">PGP</a>
+    <td class="border"> <a href="http://openjpa.apache.org/builds/1.0.4/apache-openjpa-1.0.4/RELEASE-NOTES.html">Release Notes</a>
+</tr>
+<tr><td class="border"> OpenJPA 1.0.4 Source Code </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.4/apache-openjpa-1.0.4-source.zip">apache-openjpa-1.0.4-source.zip</a>
+    <td class="border"> 18 Jan 2010 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.4/apache-openjpa-1.0.4-source.zip.asc">PGP</a>
+    <td class="border"> </td>
+</tr>
+<tr><td class="border"> OpenJPA 1.0.3 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.3/apache-openjpa-1.0.3-binary.zip">apache-openjpa-1.0.3-binary.zip</a>
+    <td class="border"> 18 Feb 2008 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.3/apache-openjpa-1.0.3-binary.zip.asc">PGP</a>
+    <td class="border"> <a href="http://openjpa.apache.org/builds/1.0.3/apache-openjpa-1.0.3/RELEASE-NOTES.html">Release Notes</a>
+</tr>
+<tr><td class="border"> OpenJPA 1.0.3 Source Code </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.3/apache-openjpa-1.0.3-source.zip">apache-openjpa-1.0.3-source.zip</a>
+    <td class="border"> 18 Feb 2008 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.3/apache-openjpa-1.0.3-source.zip.asc">PGP</a>
+    <td class="border"> </td>
+</tr>
+<tr><td class="border"> OpenJPA 1.0.2 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.2/apache-openjpa-1.0.2-binary.zip">apache-openjpa-1.0.2-binary.zip</a>
+    <td class="border"> 18 Feb 2008 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.2/apache-openjpa-1.0.2-binary.zip.asc">PGP</a>
+    <td class="border"> <a href="http://openjpa.apache.org/builds/1.0.2/apache-openjpa-1.0.2/RELEASE-NOTES.html">Release Notes</a>
+</tr>
+<tr><td class="border"> OpenJPA 1.0.2 Source Code </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.2/apache-openjpa-1.0.2-source.zip">apache-openjpa-1.0.2-source.zip</a>
+    <td class="border"> 18 Feb 2008 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.2/apache-openjpa-1.0.2-source.zip.asc">PGP</a>
+    <td class="border"> </td>
+</tr>
+<tr><td class="border"> OpenJPA 1.0.1 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.1/apache-openjpa-1.0.1-binary.zip">apache-openjpa-1.0.1-binary.zip</a>
+    <td class="border"> 9 Nov 2007 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.1/apache-openjpa-1.0.1-binary.zip.asc">PGP</a>
+    <td class="border"> <a href="http://openjpa.apache.org/builds/1.0.1/apache-openjpa-1.0.1/RELEASE-NOTES.html">Release Notes</a>
+</tr>
+<tr><td class="border"> OpenJPA 1.0.1 Source Code </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.1/apache-openjpa-1.0.1-source.zip">apache-openjpa-1.0.1-source.zip</a>
+    <td class="border"> 9 Nov 2007 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.1/apache-openjpa-1.0.1-source.zip.asc">PGP</a>
+    <td class="border"> </td>
+</tr>
+<tr><td class="border"> OpenJPA 1.0.0 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.0/apache-openjpa-1.0.0-binary.zip">apache-openjpa-1.0.0-binary.zip</a>
+    <td class="border"> 28 Aug 2007 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.0/apache-openjpa-1.0.0-binary.zip.asc">PGP</a>
+    <td class="border"> <a href="http://openjpa.apache.org/builds/1.0.0/apache-openjpa-1.0.0/RELEASE-NOTES.html">Release Notes</a>
+</tr>
+<tr><td class="border"> OpenJPA 1.0.0 Source Code </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.0/apache-openjpa-1.0.0-source.zip">apache-openjpa-1.0.0-source.zip</a>
+    <td class="border"> 28 Au 2007 </td>
+    <td class="border"> <a href="http://archive.apache.org/dist/openjpa/1.0.0/apache-openjpa-1.0.0-source.zip.asc">PGP</a>
+    <td class="border"> </td>
+</tr>
+</table>
+
+<p><a name="Downloads-NightlySnapshots"></a></p>
+<h2 id="nightly-snapshots">Nightly Snapshots</h2>
+<p>These distributions are built and deployed nightly, and contain up-to-date
+fixes and improvements. However, their stability cannot be guaranteed. Use
+at your own risk.</p>
+<h3 id="snapshot-builds-for-all-active-releases-are-published-to-the-apache-snapshot-repository">Snapshot builds for all active releases are published to the Apache snapshot repository.</h3>
+<p><strong>Version 1.2.x, 1.3.x, 2.0.x, 2.1.x and trunk (2.2.x as of this writing)
+can be found in the snapshot repository on repository.apache.org. A maven
+project can access this snapshot repository by adding the following
+repository in pom.xml:</strong></p>
+<div class="codehilite"><pre><span class="nt">&lt;repository&gt;</span>
+    <span class="nt">&lt;id&gt;</span>apache.snapshots<span class="nt">&lt;/id&gt;</span>
+    <span class="nt">&lt;name&gt;</span>Apache Snapshot Repository<span class="nt">&lt;/name&gt;</span>
+    <span class="nt">&lt;url&gt;</span>http://repository.apache.org/snapshots<span class="nt">&lt;/url&gt;</span>
+    <span class="nt">&lt;releases&gt;</span>
+    <span class="nt">&lt;enabled&gt;</span>false<span class="nt">&lt;/enabled&gt;</span>
+    <span class="nt">&lt;/releases&gt;</span>
+<span class="nt">&lt;/repository&gt;</span>
+</pre></div>
+
+
+<p><strong>For versions 1.0.x, and 1.1.x you can find the snapshots on people.apache.org.</strong></p>
+<p>A maven project can access the snapshot builds by adding the following repository in pom.xml :</p>
+<div class="codehilite"><pre><span class="nt">&lt;repository&gt;</span>
+    <span class="nt">&lt;id&gt;</span>people.apache.org.snapshots<span class="nt">&lt;/id&gt;</span>
+    <span class="nt">&lt;name&gt;</span>people.apache.org.snapshots<span class="nt">&lt;/name&gt;</span>
+    <span class="nt">&lt;url&gt;</span>http://people.apache.org/repo/m2-snapshot-repository<span class="nt">&lt;/url&gt;</span>
+<span class="nt">&lt;/repository&gt;</span>
+</pre></div>
+
+
+<p><strong>Pre-packaged binaries for SNAPSHOT releases are available in the
+snapshot repository at the following locations:</strong></p>
+<table>
+<tr><th> SNAPSHOT version </th><th> binaries </th><th> source </th></tr>
+<tr><td class="border"> 2.2.0 </td>
+    <td class="border"> <a href="https://repository.apache.org/snapshots/org/apache/openjpa/apache-openjpa/2.2.0-SNAPSHOT/">apache-openjpa-2.2.0-SNAPSHOT-binary.zip</a>
+    <td class="border"> <a href="https://repository.apache.org/snapshots/org/apache/openjpa/apache-openjpa/2.2.0-SNAPSHOT/">apache-openjpa-2.2.0-SNAPSHOT-source.zip</a>
+</tr>
+<tr><td class="border"> 2.1.2 </td>
+    <td class="border"> <a href="https://repository.apache.org/snapshots/org/apache/openjpa/apache-openjpa/2.1.2-SNAPSHOT/">apache-openjpa-2.1.2-SNAPSHOT-binary.zip</a>
+    <td class="border"> <a href="https://repository.apache.org/snapshots/org/apache/openjpa/apache-openjpa/2.1.2-SNAPSHOT/">apache-openjpa-2.1.2-SNAPSHOT-source.zip</a>
+</tr>
+<tr><td class="border"> 2.0.2 </td>
+    <td class="border"> <a href="https://repository.apache.org/snapshots/org/apache/openjpa/apache-openjpa/2.0.2-SNAPSHOT/">apache-openjpa-2.0.2-SNAPSHOT-binary.zip</a>
+    <td class="border"> <a href="https://repository.apache.org/snapshots/org/apache/openjpa/apache-openjpa/2.0.2-SNAPSHOT/">apache-openjpa-2.0.2-SNAPSHOT-source.zip</a>
+</tr>
+<tr><td class="border"> 1.3.0 </td>
+    <td class="border"> <a href="https://repository.apache.org/snapshots/org/apache/openjpa/apache-openjpa/1.3.0-SNAPSHOT/">apache-openjpa-1.3.0-SNAPSHOT-binary.zip</a>
+    <td class="border"> <a href="https://repository.apache.org/snapshots/org/apache/openjpa/apache-openjpa/1.3.0-SNAPSHOT/">apache-openjpa-1.3.0-SNAPSHOT-source.zip</a>
+</tr>
+<tr><td class="border"> 1.2.3 </td>
+    <td class="border"> <a href="https://repository.apache.org/snapshots/org/apache/openjpa/apache-openjpa/1.2.3-SNAPSHOT/">apache-openjpa-1.2.3-SNAPSHOT-binary.zip</a>
+    <td class="border"> <a href="https://repository.apache.org/snapshots/org/apache/openjpa/apache-openjpa/1.2.3-SNAPSHOT/">apache-openjpa-1.2.3-SNAPSHOT-source.zip</a>
+</tr>
+<tr><td class="border"> 1.1.1 </td>
+    <td class="border"> <a href="http://people.apache.org/repo/m2-snapshot-repository/org/apache/openjpa/apache-openjpa/1.1.1-SNAPSHOT/apache-openjpa-1.1.1-SNAPSHOT-binary.zip">apache-openjpa-1.1.1-SNAPSHOT-binary.zip</a>
+    <td class="border"> <a href="http://people.apache.org/repo/m2-snapshot-repository/org/apache/openjpa/apache-openjpa/1.1.1-SNAPSHOT/apache-openjpa-1.1.1-SNAPSHOT-source.zip">apache-openjpa-1.1.1-SNAPSHOT-source.zip</a>
+</tr>
+<tr><td class="border"> 1.0.5 </td>
+    <td class="border"> <a href="http://people.apache.org/repo/m2-snapshot-repository/org/apache/openjpa/apache-openjpa/1.0.5-SNAPSHOT/apache-openjpa-1.0.5-SNAPSHOT-binary.zip">apache-openjpa-1.0.5-SNAPSHOT-binary.zip</a>
+    <td class="border"> <a href="http://people.apache.org/repo/m2-snapshot-repository/org/apache/openjpa/apache-openjpa/1.0.5-SNAPSHOT/apache-openjpa-1.0.5-SNAPSHOT-source.zip">apache-openjpa-1.0.5-SNAPSHOT-source.zip</a>
+</tr>
+</table>
+
+<p>For the 1.2.x, 1.3.x, 2.0.x, 2.1.x and 2.2.x SNAPSHOTs, please scroll down
+to the bottom of the artifact list to grab the latest ones, as we're
+letting Maven create timestamped artifacts when publishing to the new
+Apache Nexus repo.</p>
+<p><a name="Downloads-OlderincubatingReleases"></a></p>
+<h2 id="older-incubating-releases">Older incubating Releases</h2>
+<table>
+<tr><th> </th><th> Download </th><th> Release Date </th><th> Signatures </th></tr>
+<tr><td class="border"> OpenJPA 0.9.7 </td>
+    <td class="border"> <a href="http://people.apache.org/repo/m2-incubating-repository/org/apache/openjpa/openjpa-project/0.9.7-incubating/openjpa-project-0.9.7-incubating-binary.zip">openjpa-project-0.9.7-incubating-binary.zip</a>
+    <td class="border"> 27 April 2007 </td>
+    <td class="border"> <a href="http://people.apache.org/repo/m2-incubating-repository/org/apache/openjpa/openjpa-project/0.9.7-incubating/openjpa-project-0.9.7-incubating-binary.zip.md5">MD5</a>
+<a href="http://people.apache.org/repo/m2-incubating-repository/org/apache/openjpa/openjpa-project/0.9.7-incubating/openjpa-project-0.9.7-incubating-binary.zip.asc">PGP</a>
+</tr>
+<tr><td class="border"> OpenJPA 0.9.7 Source Code </td>
+    <td class="border"> <a href="http://people.apache.org/repo/m2-incubating-repository/org/apache/openjpa/openjpa-project/0.9.7-incubating/openjpa-project-0.9.7-incubating-source.zip">openjpa-project-0.9.7-incubating-source.zip</a>
+    <td class="border"> 27 April 2007 </td>
+    <td class="border"> <a href="http://people.apache.org/repo/m2-incubating-repository/org/apache/openjpa/openjpa-project/0.9.7-incubating/openjpa-project-0.9.7-incubating-source.zip.md5">MD5</a>
+<a href="http://people.apache.org/repo/m2-incubating-repository/org/apache/openjpa/openjpa-project/0.9.7-incubating/openjpa-project-0.9.7-incubating-source.zip.asc">PGP</a>
+</tr>
+<tr><td class="border"> OpenJPA 0.9.6 </td>
+    <td class="border"> <a href="http://people.apache.org/repo/m2-incubating-repository/org/apache/openjpa/openjpa-project/0.9.6-incubating/openjpa-project-0.9.6-incubating-binary.zip">openjpa-project-0.9.6-incubating-binary.zip</a>
+    <td class="border"> 29 November 2006 </td>
+    <td class="border"> <a href="http://people.apache.org/repo/m2-incubating-repository/org/apache/openjpa/openjpa-project/0.9.6-incubating/openjpa-project-0.9.6-incubating-binary.zip.md5">MD5</a>
+<a href="http://people.apache.org/repo/m2-incubating-repository/org/apache/openjpa/openjpa-project/0.9.6-incubating/openjpa-project-0.9.6-incubating-binary.zip.asc">PGP</a>
+</tr>
+<tr><td class="border"> OpenJPA 0.9.6 Source Code </td>
+    <td class="border"> <a href="http://people.apache.org/repo/m2-incubating-repository/org/apache/openjpa/openjpa-project/0.9.6-incubating/openjpa-project-0.9.6-incubating-source.zip">openjpa-project-0.9.6-incubating-source.zip</a>
+    <td class="border"> 29 November 2006 </td>
+    <td class="border"> <a href="http://people.apache.org/repo/m2-incubating-repository/org/apache/openjpa/openjpa-project/0.9.6-incubating/openjpa-project-0.9.6-incubating-source.zip.md5">MD5</a>
+<a href="http://people.apache.org/repo/m2-incubating-repository/org/apache/openjpa/openjpa-project/0.9.6-incubating/openjpa-project-0.9.6-incubating-source.zip.asc">PGP</a>
+</tr>
+</table>
+
+<p><a name="Downloads-VerifyingReleaseVersionandRevision"></a></p>
+<h2 id="verifying-release-version-and-revision">Verifying Release Version and Revision</h2>
+<p>OpenJPA jar is self-describing and after downloading a release or nightly
+snapshot, you can find out the revision number included in the build by:</p>
+<div class="codehilite"><pre><span class="c">% java -jar your/path/to/openjpa.jar</span>
+</pre></div>
+
+
+<p>which will print the version and revision numbers, for example:</p>
+<div class="codehilite"><pre><span class="n">OpenJPA</span> <span class="mf">2.1.0</span><span class="o">-</span><span class="n">SNAPSHOT</span>
+<span class="n">version</span> <span class="n">id:</span> <span class="n">openjpa</span><span class="o">-</span><span class="mf">2.1.0</span><span class="o">-</span><span class="n">SNAPSHOT</span><span class="o">-</span><span class="n">r422266:935231</span>
+<span class="n">Apache</span> <span class="n">svn</span> <span class="n">revision:</span> <span class="mi">422266</span><span class="p">:</span><span class="mi">935231</span>
+</pre></div>
+
+
+<p>which designates that the nightly build includes Apache SVN revision
+<em>935231</em> as the latest.</p>
+<p><a name="Downloads-VerifyingReleases"></a></p>
+<h2 id="verifying-releases">Verifying Releases</h2>
+<p>We strongly recommend you verify the integrity of the downloaded files with
+both PGP and MD5. The PGP signatures can be verified using <a href="http://www.pgpi.org/">PGP</a>
+ or <a href="http://www.gnupg.org/">GPG</a>
+. First download the <a href="http://apache.org/dist/openjpa/KEYS">KEYS</a>
+ as well as the <em>*.asc</em> signature file for the particular distribution.
+Make sure you get these files from the main distribution directory, rather
+than from a mirror. Then verify the signatures using one of the following
+sets of commands:</p>
+<p><a name="Downloads-VerifyingReleaseFilesusingthepgpkUtility"></a></p>
+<h4 id="verifying-release-files-using-the-pgpk-utility">Verifying Release Files using the pgpk Utility</h4>
+<div class="codehilite"><pre><span class="c">% pgpk -a KEYS</span>
+<span class="c">% pgpv openjpa-*.zip.asc</span>
+</pre></div>
+
+
+<p><a name="Downloads-VerifyingReleaseFilesusingthepgpUtility"></a></p>
+<h4 id="verifying-release-files-using-the-pgp-utility">Verifying Release Files using the pgp Utility</h4>
+<div class="codehilite"><pre><span class="c">% pgp -ka KEYS</span>
+<span class="c">% pgp openjpa-*.zip.asc</span>
+</pre></div>
+
+
+<p><a name="Downloads-VerifyingReleaseFilesusingthegpgUtility"></a></p>
+<h4 id="verifying-release-files-using-the-gpg-utility">Verifying Release Files using the gpg Utility</h4>
+<div class="codehilite"><pre><span class="c">% gpg --import KEYS</span>
+<span class="c">% gpg --verify openjpa-*.zip.asc</span>
+</pre></div>
+
+
+<p>Alternatively, you can verify the checksums on the files. Unix programs
+called <em>md5</em>/<em>sha1</em> or <em>md5sum</em>/<em>sha1sum</em> are included in many unix
+distributions. *sum is also available as part of <a href="http://www.gnu.org/software/textutils/textutils.html">GNU Textutils</a>
+. Windows users can get binary md5 programs from [here|http://www.fourmilab.ch/md5/]
+ or <a href="http://www.pc-tools.net/win32/freeware/console/">here</a>
+. <a href="http://www.slavasoft.com/fsum/">fsum</a>
+ supports MD5 and SHA1.</p>
+<hr />
+<p><a name="missing.asm"></a>
+<strong>(**)</strong> asm-3.2.jar can be found from <a href="http://search.maven.org/remotecontent?filepath=asm/asm/3.2/asm-3.2.jar">http://search.maven.org/remotecontent?filepath=asm/asm/3.2/asm-3.2.jar</a>
+.</p>
+                                            </div>
+                                        </td>
+                                        </tr>
+                                    </tbody>
+                                </table>
+                                <div class="bottom_red_bar"></div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+                <div class="black_box">
+                    <div class="footer">
+                        <div class="footer_l">
+                            <div class="footer_r">
+                                <div>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div class="design_attribution">
+                Copyright (C) 2006,2012 The Apache Software Foundation. Licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a>.<br />
+                Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.<br />
+                Other names may be trademarks of their respective owners.<br />
+            </div>
+
+        <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+        </script>
+        <script type="text/javascript">
+            _uacct = "UA-1940143-1";
+            urchinTracker();
+        </script>
+
+    </body>
+</html>

Added: websites/staging/openjpa/trunk/content/embeddable-samples.html
==============================================================================
--- websites/staging/openjpa/trunk/content/embeddable-samples.html (added)
+++ websites/staging/openjpa/trunk/content/embeddable-samples.html Sun Dec  9 13:13:35 2012
@@ -0,0 +1,389 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+Licensed to the Apache Software Foundation (ASF) 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 compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+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.
+-->
+<html lang="en">
+    <head>
+        <META http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+        <link href="http://openjpa.apache.org/styles/site.css" rel="stylesheet" type="text/css"/>
+        <!-- <link href="http://openjpa.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css"/> -->
+        <link href="./css/type-settings.css" rel="stylesheet" type="text/css"/>
+        <LINK rel="schema.DC" href="http://purl.org/DC/elements/1.0/">
+        <META name="Description" content="Apache OpenJPA -- Embeddable samples
" />
+        <META name="Keywords" content="Apache OpenJPA, JPA, JPA 1.0, JSR-220, JPA2, JPA 2.0, JSR-317, " />
+        <META name="Owner" content="dev@openjpa.apache.org" />
+        <META name="Robots" content="index, follow" />
+        <META name="Security" content="Public" />
+        <META name="Source" content="wiki template" />
+        <META name="DC.Date" scheme="iso8601" content="2010-08-11" />
+        <META name="DC.Language" scheme="rfc1766" content="en" />
+        <META name="DC.Rights" content="Copyright © 2006,2010 The Apache Software Foundation" />
+        <META http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))'/>
+
+        <title>
+            Apache OpenJPA --
+        </title>
+    </head>
+    <body>
+        <div class="white_box">
+            <div class="header">
+                <div class="header_l">
+                    <div class="header_r">
+                    </div>
+                </div>
+            </div>
+            <div class="content">
+                <div class="content_l">
+                    <div class="content_r">
+                        <div>
+                            <!-- Banner -->
+                            <TABLE valign="top" border="0" cellspacing="0" cellpadding="5" width="100%" background="images/header-bg3.png">
+                                <TR>
+                                    <TD valing="top" align="left">
+                                        <A href="http://openjpa.apache.org/"><IMG src="images/openjpa-logo.png" border="0" alt="OpenJPA Logo"></A>
+                                    </TD>
+                                    <TD width="100%">
+                                        &nbsp;
+                                    </TD>
+                                    <TD valing="top" align="right">
+                                        <A href="http://www.apache.org/"><IMG src="images/asf_logo_wide2.png" border="0" alt="ASF Logo"></A>
+                                    </TD>
+                                </TR>
+                            </TABLE>
+
+                            <!-- Navigation Bar -->
+                            <div class="bottom_red_bar">
+                                <div id="site-breadcrumbs">
+                                    <!-- Breadcrumbs --
+                                    <a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/embeddable-samples.html">Embeddable samples
</a>
+                                     -- Breadcrumbs -->
+                                </div>
+                            </div>
+
+                            <!-- Content -->
+                            <table border="0">
+                                <tbody>
+                                    <tr>
+                                        <td valign="top">
+                                            <div class="navigation">
+                                                <div class="navigation_top">
+                                                    <div class="navigation_bottom">
+                                                        <!-- NavigationBar -->
+                                                        <h3><a name="SideNav-Overview"></a><a href="overview.html" title="Overview">Overview</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="quick-start.html" title="Quick Start">Quick Start</a></li>
+                                                            <li><a href="documentation.html" title="Documentation">Documentation</a></li>
+                                                            <li><a href="downloads.html" title="Downloads">Downloads</a></li>
+                                                            <li><a href="site-index.html" title="Site Index">Site Index</a></li>
+                                                            <li><a href="license.html" title="License">License</a></li>
+                                                            <li><a href="privacy-policy.html" title="Privacy Policy">Privacy Policy</a></li>
+                                                        </ul>
+
+                                                        <h3><a name="SideNav-Community"></a><a href="community.html" title="Community">Community</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="index.html#Index-eventsandnews" title="Events and News">Events and News</a></li>
+                                                            <li><a href="found-a-bug.html" title="Found a Bug">Found a Bug</a>?</li>
+                                                            <li><a href="get-involved.html" title="Get Involved">Get Involved</a></li>
+                                                            <li><a href="mailing-lists.html" title="Mailing Lists">Mailing Lists</a></li>
+                                                            <li><a href="committers.html" title="Committers">Committers</a></li>
+                                                            <li><a href="integration.html" title="Integration">Integration</a></li>
+                                                            <li><a href="powered-by.html" title="Powered By">Powered By</a></li>
+                                                            <li><a href="thanks.html" title="Thanks">Thanks</a></li>
+                                                        </ul>
+
+
+                                                        <h3><a name="SideNav-Development"></a><a href="development.html" title="Development">Development</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="http://issues.apache.org/jira/browse/OPENJPA" class="external-link" rel="nofollow">Issue Tracker</a></li>
+                                                            <li><a href="source-code.html" title="Source Code">Source Code</a></li>
+                                                            <li><a href="testing.html" title="Testing">Testing</a></li>
+                                                            <li><a href="tools.html" title="Tools">Tools</a></li>
+                                                            <li><a href="samples.html" title="Samples">Samples</a></li>
+                                                            <li><a href="release-management.html" title="Release Management">Release Management</a></li>
+                                                        </ul>
+
+                                                        <h3>Search</h3>
+
+                                                        <div style="padding: 5px 5px 0px 25px;">
+                                                            <form action="http://www.google.com/search" method="get" style="font-size: 10px;">
+                                                                <input name="ie" type="hidden" value="UTF-8">
+                                                                <input name="oe" type="hidden" value="UTF-8">
+                                                                <input maxlength="255" name="q" size="9" type="text" value=""><br><br>
+                                                                <input name="btnG" type="submit" value="Google">
+                                                                <input name="domains" type="hidden" value="openjpa.apache.org">
+                                                                <input name="sitesearch" type="hidden" value="openjpa.apache.org">
+                                                            </form>
+                                                        </div>
+                                                    </div>
+                                                </div>
+                                            </div>
+                                        </td>
+                                        <td valign="top" width="100%" style="overflow:hidden;">
+                                            <div class="wiki-content">
+                                                <p><a name="Embeddable-samples"></a></p>
+<p><a name="Embeddablesamples-Embeddableclasses"></a></p>
+<h2 id="embeddable-classes">Embeddable classes</h2>
+<p>An entity may use other fine-grained classes to represent entity state.
+Instances of these classes, unlike entity instances, do not have persistent
+identity of their own. Instead, they exist only as part of the state of the
+entity to which they belong. (From 2.0 Proposed Final Draft March 13, 2009
+-- do I need to provide footnote or something?) </p>
+<p>In short, an embeddable is a seperation of data into a Java class that
+relies on the owning Entity for it's identity. Many(most) times an
+embeddable resides in the same database row as the owning Entity. </p>
+<p>Review the <a href="getting-started.html">getting started</a>
+ page on how to run the samples.</p>
+<p><a name="Embeddablesamples-Samples"></a></p>
+<h2 id="samples">Samples</h2>
+<p><table>
+<tr><th>Schema</th></tr>
+<tr><td><img src="images/embeddables.jpeg"/></td>
+</tr>
+</table></p>
+<table>
+<tr><th>Class diagram</th></tr>
+<tr><td><img src="images/embeddables_entities.jpeg"/>
+</tr>
+</table>
+
+<ul>
+<li><a href="#collections-of-embeddables.html">Collections of Embeddables</a></li>
+<li><a href="#relationships-from-embeddables.html">Relationships from Embeddables</a></li>
+<li><a href="#nested-embeddables.html">Nested Embeddables</a></li>
+</ul>
+<p><a name="Embeddablesamples-CollectionsofEmbeddables"></a></p>
+<h2 id="collections-of-embeddables">Collections of Embeddables</h2>
+<p>In the code snippet below, there is a User Entity which has a collection of
+Embedded addresses.</p>
+<p><DIV class="code panel" style="border-style: solid;border-width: 0px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Address.java|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"></p>
+<div class="codehilite"><pre><span class="nv">@Embeddable</span>
+<span class="n">public</span> <span class="n">class</span> <span class="n">Address</span> <span class="p">{</span>
+    <span class="nv">@Basic</span>
+    <span class="n">private</span> <span class="n">String</span> <span class="n">street</span><span class="p">;</span>
+    <span class="nv">@Basic</span>
+    <span class="n">private</span> <span class="n">String</span> <span class="n">city</span><span class="p">;</span>
+    <span class="nv">@Basic</span>
+    <span class="n">private</span> <span class="n">String</span> <span class="n">state</span><span class="p">;</span>
+    <span class="nv">@Basic</span>
+    <span class="n">private</span> <span class="n">Integer</span> <span class="n">zip</span><span class="p">;</span>
+
+    <span class="n">public</span> <span class="n">Address</span><span class="p">(){</span>
+    <span class="p">}</span>
+<span class="sr">//</span><span class="o">...</span>
+<span class="p">}</span>
+</pre></div>
+
+
+<p><br/></p>
+<p><DIV class="code panel" style="border-style: solid;border-width: 0px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>User.java|borderStyle=solid</B></DIV><DIV class="codeContent panelContent">
+    @Entity
+    public class User {
+        @Id
+        @GeneratedValue(strategy=GenerationType.IDENTITY)
+        private int id;</p>
+<div class="codehilite"><pre>    <span class="nv">@ElementCollection</span>
+    <span class="nv">@CollectionTable</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="s">&quot;user_address&quot;</span><span class="p">)</span>
+    <span class="n">private</span> <span class="n">Set</span><span class="sr">&lt;Address&gt;</span> <span class="n">addresses</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashSet</span><span class="sr">&lt;Address&gt;</span><span class="p">();</span>
+
+    <span class="n">public</span> <span class="n">User</span><span class="p">(){</span>
+    <span class="p">}</span>
+<span class="sr">//</span><span class="o">...</span>
+<span class="p">}</span>
+</pre></div>
+
+
+<p><br/></p>
+<p><DIV class="code panel" style="border-style: solid;border-width: 0px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>JPQL.java|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"></p>
+<div class="codehilite"><pre><span class="o">...</span>
+<span class="sr">//</span> <span class="n">Select</span> <span class="n">Entity</span> <span class="n">based</span> <span class="n">off</span> <span class="n">a</span> <span class="n">query</span> <span class="n">over</span> <span class="n">a</span> <span class="n">collection</span> <span class="n">of</span> <span class="n">embeddables</span>
+<span class="n">Query</span> <span class="sx">q = </span><span class="n">em</span><span class="o">.</span><span class="n">createQuery</span><span class="p">(</span><span class="s">&quot;SELECT u FROM User u , in (u.addresses) a WHERE a.state=&#39;xx&#39;&quot;</span><span class="p">);</span>
+<span class="sr">//</span> <span class="n">TODO</span> <span class="o">--</span> <span class="n">add</span> <span class="n">more</span><span class="o">!</span>
+<span class="o">...</span>
+</pre></div>
+
+
+<p><a name="Embeddablesamples-RelationshipsfromEmbeddables"></a></p>
+<h2 id="relationships-from-embeddables">Relationships from Embeddables</h2>
+<p>In the code snippet below, there is an Address embeddable with a ManyToOne
+relationship to a Coordinates Entity.</p>
+<p><DIV class="code panel" style="border-style: solid;border-width: 0px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Address.java|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"></p>
+<div class="codehilite"><pre><span class="nv">@Embeddable</span>
+<span class="n">public</span> <span class="n">class</span> <span class="n">Address</span> <span class="p">{</span>
+    <span class="nv">@Basic</span>
+    <span class="n">private</span> <span class="n">String</span> <span class="n">street</span><span class="p">;</span>
+    <span class="nv">@Basic</span>
+    <span class="n">private</span> <span class="n">String</span> <span class="n">city</span><span class="p">;</span>
+    <span class="nv">@Basic</span>
+    <span class="n">private</span> <span class="n">String</span> <span class="n">state</span><span class="p">;</span>
+    <span class="nv">@Basic</span>
+    <span class="n">private</span> <span class="n">Integer</span> <span class="n">zip</span><span class="p">;</span>
+
+    <span class="nv">@ManyToOne</span><span class="p">(</span><span class="n">cascade</span><span class="o">=</span><span class="n">CascadeType</span><span class="o">.</span><span class="n">ALL</span><span class="p">)</span>
+    <span class="n">Coordinates</span> <span class="n">coordinates</span><span class="p">;</span>
+
+    <span class="n">public</span> <span class="n">Address</span><span class="p">(){</span>
+    <span class="p">}</span>
+<span class="sr">//</span><span class="o">...</span>
+<span class="p">}</span>
+</pre></div>
+
+
+<p><DIV class="code panel" style="border-style: solid;border-width: 0px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Coordinates .java|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"></p>
+<div class="codehilite"><pre><span class="nv">@Entity</span>
+<span class="n">public</span> <span class="n">class</span> <span class="n">Coordinates</span> <span class="p">{</span>
+    <span class="nv">@Id</span>
+    <span class="nv">@GeneratedValue</span><span class="p">(</span><span class="n">strategy</span><span class="o">=</span><span class="n">GenerationType</span><span class="o">.</span><span class="n">IDENTITY</span><span class="p">)</span>
+    <span class="nb">int</span> <span class="n">id</span><span class="p">;</span>
+
+    <span class="nv">@Basic</span>
+    <span class="n">double</span> <span class="n">longitude</span><span class="p">;</span>
+    <span class="nv">@Basic</span>
+    <span class="n">double</span> <span class="n">latitude</span><span class="p">;</span>
+    <span class="n">public</span> <span class="n">Coordinates</span><span class="p">(){</span>
+    <span class="p">}</span>
+    <span class="n">public</span> <span class="n">Coordinates</span><span class="p">(</span><span class="n">double</span> <span class="n">lon</span><span class="p">,</span> <span class="n">double</span> <span class="n">lat</span><span class="p">){</span>
+        <span class="n">longitude</span><span class="o">=</span><span class="n">lon</span><span class="p">;</span>
+        <span class="n">latitude</span><span class="o">=</span><span class="n">lat</span><span class="p">;</span>
+    <span class="p">}</span>
+<span class="sr">//</span><span class="o">...</span>
+<span class="p">}</span>
+</pre></div>
+
+
+<p><DIV class="code panel" style="border-style: solid;border-width: 0px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>JPQL.java|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"></p>
+<div class="codehilite"><pre><span class="o">...</span>
+<span class="sr">//</span> <span class="n">Embedded</span> <span class="o">-&gt;</span> <span class="n">relationship</span> <span class="n">traversal</span>
+<span class="n">Query</span> <span class="sx">q = </span><span class="n">em</span><span class="o">.</span><span class="n">createQuery</span><span class="p">(</span><span class="s">&quot;SELECT u FROM User u , in (u.addresses) a WHERE a.coordinates.longitude=xxx&quot;</span><span class="p">);</span>
+<span class="sr">//</span> <span class="n">TODO</span> <span class="o">--</span> <span class="n">add</span> <span class="n">more</span><span class="o">!</span>
+<span class="o">...</span>
+</pre></div>
+
+
+<p><a name="Embeddablesamples-NestedEmbeddables"></a></p>
+<h2 id="nested-embeddables">Nested Embeddables</h2>
+<p>In the code snippet below, there is a User Entity which has an embedded
+ContactInfo. ContactInfo contains two other embeddeded embeddables, Address
+and Phone.</p>
+<p><DIV class="code panel" style="border-style: solid;border-width: 0px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Address.java|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"></p>
+<div class="codehilite"><pre><span class="nv">@Embeddable</span>
+<span class="n">public</span> <span class="n">class</span> <span class="n">Address</span> <span class="p">{</span>
+    <span class="nv">@Basic</span>
+    <span class="n">private</span> <span class="n">String</span> <span class="n">street</span><span class="p">;</span>
+    <span class="nv">@Basic</span>
+    <span class="n">private</span> <span class="n">String</span> <span class="n">city</span><span class="p">;</span>
+    <span class="nv">@Basic</span>
+    <span class="n">private</span> <span class="n">String</span> <span class="n">state</span><span class="p">;</span>
+    <span class="nv">@Basic</span>
+    <span class="n">private</span> <span class="n">Integer</span> <span class="n">zip</span><span class="p">;</span>
+
+    <span class="n">public</span> <span class="n">Address</span><span class="p">(){</span>
+    <span class="p">}</span>
+<span class="sr">//</span><span class="o">...</span>
+<span class="p">}</span>
+</pre></div>
+
+
+<p><DIV class="code panel" style="border-style: solid;border-width: 0px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Phone.java|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"></p>
+<div class="codehilite"><pre><span class="nv">@Embeddable</span>
+<span class="n">public</span> <span class="n">class</span> <span class="n">Phone</span> <span class="p">{</span>
+    <span class="nv">@Basic</span>
+    <span class="n">private</span> <span class="n">String</span> <span class="n">phone_number</span><span class="p">;</span>
+    <span class="nv">@Basic</span>
+    <span class="n">private</span> <span class="n">String</span> <span class="n">phone_type</span><span class="p">;</span>
+<span class="sr">//</span><span class="o">...</span>
+<span class="p">}</span>
+</pre></div>
+
+
+<p><DIV class="code panel" style="border-style: solid;border-width: 0px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>ContactInfo.java|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"></p>
+<div class="codehilite"><pre><span class="nv">@Embeddable</span>
+<span class="n">public</span> <span class="n">class</span> <span class="n">ContactInfo</span> <span class="p">{</span>
+    <span class="n">public</span> <span class="n">ContactInfo</span><span class="p">(){</span>   
+    <span class="p">}</span>
+
+    <span class="nv">@Embedded</span>
+    <span class="n">Address</span> <span class="n">homeAddress</span><span class="p">;</span>
+
+    <span class="nv">@Embedded</span>
+    <span class="n">Phone</span> <span class="n">homePhone</span><span class="p">;</span>
+<span class="sr">//</span><span class="o">...</span>
+<span class="p">}</span>
+</pre></div>
+
+
+<p><DIV class="code panel" style="border-style: solid;border-width: 0px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>User.java|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"></p>
+<div class="codehilite"><pre><span class="nv">@Entity</span>
+<span class="n">public</span> <span class="n">class</span> <span class="n">User</span> <span class="p">{</span>
+    <span class="nv">@Id</span>
+    <span class="nv">@GeneratedValue</span><span class="p">(</span><span class="n">strategy</span><span class="o">=</span><span class="n">GenerationType</span><span class="o">.</span><span class="n">IDENTITY</span><span class="p">)</span>
+    <span class="n">private</span> <span class="nb">int</span> <span class="n">id</span><span class="p">;</span>
+    <span class="nv">@Embedded</span>
+    <span class="n">ContactInfo</span> <span class="n">contactInfo</span><span class="p">;</span>
+
+    <span class="n">public</span> <span class="n">User</span><span class="p">(){</span>
+    <span class="p">}</span>
+<span class="sr">//</span><span class="o">...</span>
+<span class="p">}</span>
+</pre></div>
+
+
+<p><DIV class="code panel" style="border-style: solid;border-width: 0px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>JPQL.java|borderStyle=solid</B></DIV><DIV class="codeContent panelContent"></p>
+<div class="codehilite"><pre><span class="o">...</span>
+<span class="sr">//</span> <span class="n">Nested</span> <span class="n">embeddables</span> <span class="n">traversal</span>
+<span class="n">Query</span> <span class="sx">q = </span><span class="n">em</span><span class="o">.</span><span class="n">createQuery</span><span class="p">(</span><span class="s">&quot;SELECT u FROM User u WHERE u.contactInfo.homePhone.number=&#39;507-555-5555&#39; &quot;</span> <span class="o">+</span>
+    <span class="s">&quot;AND u.contactInfo.homePhone.type=&#39;cell&#39;&quot;</span><span class="p">);</span>
+<span class="sr">//</span> <span class="n">TODO</span> <span class="o">--</span> <span class="n">add</span> <span class="n">more</span><span class="o">!</span>
+<span class="o">...</span>
+</pre></div>
+                                            </div>
+                                        </td>
+                                        </tr>
+                                    </tbody>
+                                </table>
+                                <div class="bottom_red_bar"></div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+                <div class="black_box">
+                    <div class="footer">
+                        <div class="footer_l">
+                            <div class="footer_r">
+                                <div>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div class="design_attribution">
+                Copyright (C) 2006,2012 The Apache Software Foundation. Licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a>.<br />
+                Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.<br />
+                Other names may be trademarks of their respective owners.<br />
+            </div>
+
+        <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+        </script>
+        <script type="text/javascript">
+            _uacct = "UA-1940143-1";
+            urchinTracker();
+        </script>
+
+    </body>
+</html>

Added: websites/staging/openjpa/trunk/content/enhancement-with-ant.html
==============================================================================
--- websites/staging/openjpa/trunk/content/enhancement-with-ant.html (added)
+++ websites/staging/openjpa/trunk/content/enhancement-with-ant.html Sun Dec  9 13:13:35 2012
@@ -0,0 +1,229 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+Licensed to the Apache Software Foundation (ASF) 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 compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+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.
+-->
+<html lang="en">
+    <head>
+        <META http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+        <link href="http://openjpa.apache.org/styles/site.css" rel="stylesheet" type="text/css"/>
+        <!-- <link href="http://openjpa.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css"/> -->
+        <link href="./css/type-settings.css" rel="stylesheet" type="text/css"/>
+        <LINK rel="schema.DC" href="http://purl.org/DC/elements/1.0/">
+        <META name="Description" content="Apache OpenJPA -- Enhancement with ANT
" />
+        <META name="Keywords" content="Apache OpenJPA, JPA, JPA 1.0, JSR-220, JPA2, JPA 2.0, JSR-317, " />
+        <META name="Owner" content="dev@openjpa.apache.org" />
+        <META name="Robots" content="index, follow" />
+        <META name="Security" content="Public" />
+        <META name="Source" content="wiki template" />
+        <META name="DC.Date" scheme="iso8601" content="2010-08-11" />
+        <META name="DC.Language" scheme="rfc1766" content="en" />
+        <META name="DC.Rights" content="Copyright © 2006,2010 The Apache Software Foundation" />
+        <META http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))'/>
+
+        <title>
+            Apache OpenJPA --
+        </title>
+    </head>
+    <body>
+        <div class="white_box">
+            <div class="header">
+                <div class="header_l">
+                    <div class="header_r">
+                    </div>
+                </div>
+            </div>
+            <div class="content">
+                <div class="content_l">
+                    <div class="content_r">
+                        <div>
+                            <!-- Banner -->
+                            <TABLE valign="top" border="0" cellspacing="0" cellpadding="5" width="100%" background="images/header-bg3.png">
+                                <TR>
+                                    <TD valing="top" align="left">
+                                        <A href="http://openjpa.apache.org/"><IMG src="images/openjpa-logo.png" border="0" alt="OpenJPA Logo"></A>
+                                    </TD>
+                                    <TD width="100%">
+                                        &nbsp;
+                                    </TD>
+                                    <TD valing="top" align="right">
+                                        <A href="http://www.apache.org/"><IMG src="images/asf_logo_wide2.png" border="0" alt="ASF Logo"></A>
+                                    </TD>
+                                </TR>
+                            </TABLE>
+
+                            <!-- Navigation Bar -->
+                            <div class="bottom_red_bar">
+                                <div id="site-breadcrumbs">
+                                    <!-- Breadcrumbs --
+                                    <a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/enhancement-with-ant.html">Enhancement with ANT
</a>
+                                     -- Breadcrumbs -->
+                                </div>
+                            </div>
+
+                            <!-- Content -->
+                            <table border="0">
+                                <tbody>
+                                    <tr>
+                                        <td valign="top">
+                                            <div class="navigation">
+                                                <div class="navigation_top">
+                                                    <div class="navigation_bottom">
+                                                        <!-- NavigationBar -->
+                                                        <h3><a name="SideNav-Overview"></a><a href="overview.html" title="Overview">Overview</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="quick-start.html" title="Quick Start">Quick Start</a></li>
+                                                            <li><a href="documentation.html" title="Documentation">Documentation</a></li>
+                                                            <li><a href="downloads.html" title="Downloads">Downloads</a></li>
+                                                            <li><a href="site-index.html" title="Site Index">Site Index</a></li>
+                                                            <li><a href="license.html" title="License">License</a></li>
+                                                            <li><a href="privacy-policy.html" title="Privacy Policy">Privacy Policy</a></li>
+                                                        </ul>
+
+                                                        <h3><a name="SideNav-Community"></a><a href="community.html" title="Community">Community</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="index.html#Index-eventsandnews" title="Events and News">Events and News</a></li>
+                                                            <li><a href="found-a-bug.html" title="Found a Bug">Found a Bug</a>?</li>
+                                                            <li><a href="get-involved.html" title="Get Involved">Get Involved</a></li>
+                                                            <li><a href="mailing-lists.html" title="Mailing Lists">Mailing Lists</a></li>
+                                                            <li><a href="committers.html" title="Committers">Committers</a></li>
+                                                            <li><a href="integration.html" title="Integration">Integration</a></li>
+                                                            <li><a href="powered-by.html" title="Powered By">Powered By</a></li>
+                                                            <li><a href="thanks.html" title="Thanks">Thanks</a></li>
+                                                        </ul>
+
+
+                                                        <h3><a name="SideNav-Development"></a><a href="development.html" title="Development">Development</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="http://issues.apache.org/jira/browse/OPENJPA" class="external-link" rel="nofollow">Issue Tracker</a></li>
+                                                            <li><a href="source-code.html" title="Source Code">Source Code</a></li>
+                                                            <li><a href="testing.html" title="Testing">Testing</a></li>
+                                                            <li><a href="tools.html" title="Tools">Tools</a></li>
+                                                            <li><a href="samples.html" title="Samples">Samples</a></li>
+                                                            <li><a href="release-management.html" title="Release Management">Release Management</a></li>
+                                                        </ul>
+
+                                                        <h3>Search</h3>
+
+                                                        <div style="padding: 5px 5px 0px 25px;">
+                                                            <form action="http://www.google.com/search" method="get" style="font-size: 10px;">
+                                                                <input name="ie" type="hidden" value="UTF-8">
+                                                                <input name="oe" type="hidden" value="UTF-8">
+                                                                <input maxlength="255" name="q" size="9" type="text" value=""><br><br>
+                                                                <input name="btnG" type="submit" value="Google">
+                                                                <input name="domains" type="hidden" value="openjpa.apache.org">
+                                                                <input name="sitesearch" type="hidden" value="openjpa.apache.org">
+                                                            </form>
+                                                        </div>
+                                                    </div>
+                                                </div>
+                                            </div>
+                                        </td>
+                                        <td valign="top" width="100%" style="overflow:hidden;">
+                                            <div class="wiki-content">
+                                                <p>The following shows how to define a OpenJPA enhancer task and how to invoke
+the task in ANT.</p>
+<p>First you'll need to compile the Entites. (Note: as a prereq to running the
+enhance task, I copied my persistence.xml file to my /build directory. You
+might not need to do this, but the persistence.xml has to be in the
+classpath.)</p>
+<p>Next you'll need to configure the enhancer task and a classpath where the
+task can be found.</p>
+<p>The final step is to call the enhance task. A snippet is provided below:</p>
+<div class="codehilite"><pre>    <span class="nt">&lt;path</span> <span class="na">id=</span><span class="s">&quot;jpa.enhancement.classpath&quot;</span><span class="nt">&gt;</span>
+        <span class="nt">&lt;pathelement</span> <span class="na">location=</span><span class="s">&quot;bin&quot;</span><span class="nt">/&gt;</span>
+
+        <span class="c">&lt;!-- lib contains all of the jars that came with the OpenJPA binary download --&gt;</span>
+        <span class="nt">&lt;fileset</span> <span class="na">dir=</span><span class="s">&quot;lib&quot;</span><span class="nt">&gt;</span>
+        <span class="nt">&lt;include</span> <span class="na">name=</span><span class="s">&quot;**/*.jar&quot;</span><span class="nt">/&gt;</span>
+        <span class="nt">&lt;/fileset&gt;</span>
+    <span class="nt">&lt;/path&gt;</span>
+
+    <span class="nt">&lt;target</span> <span class="na">name=</span><span class="s">&quot;enhance&quot;</span> <span class="na">depends=</span><span class="s">&quot;build&quot;</span><span class="nt">&gt;</span>
+    <span class="c">&lt;!-- This is a bit of a hack, but I needed to copy the persistence.xml file from my src dir</span>
+<span class="c">        to the build dir when we run enhancement --&gt;</span>
+    <span class="nt">&lt;copy</span> <span class="na">includeemptydirs=</span><span class="s">&quot;false&quot;</span> <span class="na">todir=</span><span class="s">&quot;bin&quot;</span><span class="nt">&gt;</span>
+        <span class="nt">&lt;fileset</span> <span class="na">dir=</span><span class="s">&quot;src&quot;</span> <span class="na">excludes=</span><span class="s">&quot;**/*.launch, **/*.java&quot;</span><span class="nt">/&gt;</span>
+    <span class="nt">&lt;/copy&gt;</span>
+
+    <span class="c">&lt;!-- define the openjpac task --&gt;</span>
+    <span class="nt">&lt;taskdef</span> <span class="na">name=</span><span class="s">&quot;openjpac&quot;</span> <span class="na">classname=</span><span class="s">&quot;org.apache.openjpa.ant.PCEnhancerTask&quot;</span><span class="nt">&gt;</span>
+        <span class="nt">&lt;classpath</span> <span class="na">refid=</span><span class="s">&quot;jpa.enhancement.classpath&quot;</span><span class="nt">/&gt;</span>
+    <span class="nt">&lt;/taskdef&gt;</span>
+
+    <span class="c">&lt;!-- invoke enhancer the enhancer --&gt;</span>
+    <span class="nt">&lt;openjpac&gt;</span>
+        <span class="nt">&lt;classpath</span> <span class="na">refid=</span><span class="s">&quot;jpa.enhancement.classpath&quot;</span><span class="nt">/&gt;</span>
+    <span class="nt">&lt;/openjpac&gt;</span>
+    <span class="nt">&lt;echo</span> <span class="na">message=</span><span class="s">&quot;Enhancing complete.&quot;</span><span class="nt">/&gt;</span>
+    <span class="nt">&lt;/target&gt;</span>
+</pre></div>
+
+
+<p>The persistence.xml doesn't have to be complete. The required elements are
+the persistence-unit (any legal name will do), and the provider (you have
+to identify openjpa). You can identify the classes to be enhanced either in
+this file or in the enhancer task ant project.</p>
+<div class="codehilite"><pre>    <span class="cp">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</span>
+    <span class="nt">&lt;persistence</span> <span class="na">version=</span><span class="s">&quot;1.0&quot;</span> <span class="na">xmlns=</span><span class="s">&quot;http://java.sun.com/xml/ns/persistence&quot;</span> 
+        <span class="na">xmlns:xsi=</span><span class="s">&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</span> 
+        <span class="na">xsi:schemaLocation=</span><span class="s">&quot;http://java.sun.com/xml/ns/persistence </span>
+<span class="s">        http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd&quot;</span><span class="nt">&gt;</span>
+        <span class="nt">&lt;persistence-unit</span> <span class="na">name=</span><span class="s">&quot;enhance&quot;</span> <span class="na">transaction-type=</span><span class="s">&quot;RESOURCE_LOCAL&quot;</span><span class="nt">&gt;</span>
+
+            <span class="nt">&lt;provider&gt;</span>org.apache.openjpa.persistence.PersistenceProviderImpl<span class="nt">&lt;/provider&gt;</span>
+            <span class="nt">&lt;class&gt;</span>com.egg.sample.model.Employee<span class="nt">&lt;/class&gt;</span>
+        <span class="nt">&lt;/persistence-unit&gt;</span>
+   <span class="nt">&lt;/persistence&gt;</span>
+</pre></div>
+                                            </div>
+                                        </td>
+                                        </tr>
+                                    </tbody>
+                                </table>
+                                <div class="bottom_red_bar"></div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+                <div class="black_box">
+                    <div class="footer">
+                        <div class="footer_l">
+                            <div class="footer_r">
+                                <div>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div class="design_attribution">
+                Copyright (C) 2006,2012 The Apache Software Foundation. Licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a>.<br />
+                Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.<br />
+                Other names may be trademarks of their respective owners.<br />
+            </div>
+
+        <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+        </script>
+        <script type="text/javascript">
+            _uacct = "UA-1940143-1";
+            urchinTracker();
+        </script>
+
+    </body>
+</html>



Mime
View raw message