cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Cayenne > No-XML Example
Date Mon, 24 Jan 2011 12:45:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2036/9/25/_/styles/combined.css?spaceKey=CAY&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/CAY/No-XML+Example">No-XML
Example</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~arothe">Andre
Rothe</a>
    </h4>
        <br/>
                         <h4>Changes (1)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >h3. How to Run <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >* [Download the <span class="diff-changed-words">example|<span
class="diff-added-chars"style="background-color: #dfd;">No-XML Example</span>^no-xml-example.tar.gz]</span>
and unpack it somewhere. <br></td></tr>
            <tr><td class="diff-unchanged" >* From Eclipse run {{App}} class as
&quot;Java Application&quot;. As in-memory HSQLDB is used, Cayenne generates the schema
on the fly and no extra DB setup is required. <br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <p>This example shows how to use Cayenne without any XML file. It shows how
to map database objects to Cayenne objects. For more information see <a href="/confluence/display/CAYDOC/Generic+Persistent+Class"
title="Generic Persistent Class">Generic Persistent Class</a> article.</p>


<h3><a name="No-XMLExample-HowtoRun"></a>How to Run</h3>

<ul>
	<li><span class="error">&#91;Download the example|No-XML Example^no-xml-example.tar.gz&#93;</span>
and unpack it somewhere.</li>
	<li>From Eclipse run <tt>App</tt> class as "Java Application". As in-memory
HSQLDB is used, Cayenne generates the schema on the fly and no extra DB setup is required.</li>
</ul>

    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/CAY/No-XML+Example">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=25199699&revisedVersion=2&originalVersion=1">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/CAY/No-XML+Example?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message