Skip to main content
summaryrefslogtreecommitdiffstats
blob: a30eca698932b2e88f15b00fd4305c6022b1df3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<title>Tips and tricks</title>
<meta name="copyright" content="Copyright (c) 2000, 2009 oracle . All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html. Contributors: Oracle - initial API and implementation" />
<meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 1.0.11" />
<meta name="date" content="2013-01-03T9:24:59Z" />
<meta name="robots" content="noarchive" />
<meta name="doctitle" content="Tips and tricks" />
<meta name="relnum" content="Release 3.3" />
<meta name="partnum" content="Release 3.3" />
<link rel="copyright" href="dcommon/html/cpyr.htm" title="Copyright" type="text/html" />
<link rel="stylesheet" href="dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" />
</head>
<body>
<p><a id="CHDHGHBF" name="CHDHGHBF"></a></p>
<p class="betadraftsubtitle">Beta Draft: 2013-01-03</p>
<h1>Tips and tricks</h1>
<p>The following tips and tricks give some helpful ideas for increasing your productivity.</p>
<div class="inftblhruleinformalwide">
<table class="HRuleInformalWide" summary="Tips and Tricks" dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<tbody>
<tr align="left" valign="top">
<td align="left" id="r1c1-t2">
<p><span class="bold">Database connections</span></p>
</td>
<td align="left">
<p><a id="sthref739" name="sthref739"></a>When starting a new workbench session, be sure to <a href="../org.eclipse.datatools.connectivity.doc.user/doc/html/asc1229700343352.html">reconnect to your database</a> (if you are working online). This allows Dali to provide database-related mapping assistance and validation.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r2c1-t2">
<p><span class="bold">Schema-based persistence.xml file</span></p>
</td>
<td align="left" headers="r2c1-t2">
<p><a id="sthref740" name="sthref740"></a><a id="sthref741" name="sthref741"></a>If you are behind a firewall, you may need to configure your Eclipse workspace proxy in the <a href="../org.eclipse.platform.doc.user/reference/ref-72.htm">Preferences dialog</a> (<span class="gui-object-action">Preferences &gt; Internet &gt; Proxy Settings</span>) to properly validate a schema-based <code>persistence.xml</code> file.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t2">
<p><span class="bold">@XmlPath content assist and validation</span></p>
</td>
<td align="left" headers="r3c1-t2">
<p><a id="sthref742" name="sthref742"></a><a id="sthref743" name="sthref743"></a>Dali supports <code>@XmlPath</code> content assist and validation. You can now easily traverse deeply nested XML structures specifying <code>XmlPath</code> values.</p>
<img src="img/xmlpath_validation.png" alt="" title="" /></td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t2">
<p><span class="bold">Making persistent entities</span></p>
</td>
<td align="left" headers="r4c1-t2">
<p>With the <a href="reference075.htm#CACIBDFB">Make Persistent dialog</a>, you can easily transform Java classes into persistent entities via Java annotation or entry in an XML mapping file. With multi-select, you can quickly create many entities at once.</p>
<img src="img/MakePersistentMenu.png" alt="" title="" /></td>
</tr>
</tbody>
</table>
<br /></div>
<!-- class="inftblhruleinformalwide" -->
<!-- Start Footer -->
<div class="footer">
<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%">
<col width="86%" />
<col width="*" />
<tr>
<td align="left"><span class="copyrightlogo">Copyright&nbsp;&copy;&nbsp;2011, 2013,&nbsp;Oracle&nbsp;and/or&nbsp;its&nbsp;affiliates.&nbsp;All&nbsp;rights&nbsp;reserved.</span><br />
<a href="dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td>
</tr>
</table>
</div>
<!-- class="footer" -->
</body>
</html>

Back to the top