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:11: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 (4)</h4>
                                 
    
<div id="page-diffs">
            <table class="diff" cellpadding="0" cellspacing="0">
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">This
tool displays a persistence domain model. It does not yet display the mapping information.
<br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">h1.
Persistent Domain Browser <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">A
graphic visualization of persistence domain classes. <br> <br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br>$ java org.apache.openjpa.tools.metamodel.MetamodelBrowser
<br>{code} <br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">h3.
Classpath <br>  The runtime classpath must include <br>* OpenJPA runtime libraries
<br>* The parent directory of persistence unit descriptor (META-INF/persistence.xml)
<br>* The directory of compiled domain classes <br>{info} <br>The persistence
unit descriptor must enumerate the domain classes in its &lt;class&gt; tag <br>{info}
<br> <br> <br>h2. A typical snapshot  <br></td></tr>
            <tr><td class="diff-unchanged" >!mmb.png|align=center, vspace=4! <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>The persistence unit
descriptor must enumerate the domain classes in its &lt;class&gt; tag</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=3&originalVersion=2">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