openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] OpenJPA > Domain Model Browser
Date Tue, 12 Oct 2010 18:13:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/5/_/styles/combined.css?spaceKey=openjpa&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/openjpa/Domain+Model+Browser">Domain
Model Browser</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~ppoddar@apache.org">Pinaki
Poddar</a>
    </h4>
        <br/>
                         <h4>Changes (2)</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" >* The directory of compiled domain
classes <br>{info} <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-added-words"style="background-color:
#dfd;">*</span> The persistence unit descriptor must enumerate the domain classes
in its &lt;class&gt; <span class="diff-changed-words">tag<span class="diff-added-chars"style="background-color:
#dfd;">.</span></span> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">*
Database connection is not required. <br></td></tr>
            <tr><td class="diff-unchanged" >{info} <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
        </table>
</div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="DomainModelBrowser-PersistentDomainBrowser"></a>Persistent
Domain Browser</h1>

<p>A graphic visualization of persistence domain classes.</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
$ java org.apache.openjpa.tools.metamodel.MetamodelBrowser
</pre>
</div></div>

<h3><a name="DomainModelBrowser-Classpath"></a>Classpath</h3>
<p>  The runtime classpath must include</p>
<ul>
	<li>OpenJPA runtime libraries</li>
	<li>The parent directory of persistence unit descriptor (META-INF/persistence.xml)</li>
	<li>The directory of compiled domain classes
<div class='panelMacro'><table class='infoMacro'><colgroup><col width='24'><col></colgroup><tr><td
valign='top'><img src="/confluence/images/icons/emoticons/information.gif" width="16"
height="16" align="absmiddle" alt="" border="0"></td><td><ul>
	<li>The persistence unit descriptor must enumerate the domain classes in its &lt;class&gt;
tag.</li>
	<li>Database connection is not required.</li>
</ul>
</td></tr></table></div></li>
</ul>




<h2><a name="DomainModelBrowser-Atypicalsnapshot"></a>A typical snapshot
</h2>
<p><span class="image-wrap" style="display: block; text-align: center"><img
src="/confluence/download/attachments/23340585/mmb.PNG?version=1&amp;modificationDate=1286906567078"
vspace="4" style="border: 0px solid black" /></span></p>
    </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/openjpa/Domain+Model+Browser">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=23340585&revisedVersion=4&originalVersion=3">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/openjpa/Domain+Model+Browser?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message