| <!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>Queries</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:55Z" /> |
| <meta name="robots" content="noarchive" /> |
| <meta name="doctitle" content="Queries" /> |
| <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 class="betadraftsubtitle">Beta Draft: 2013-01-03</p> |
| <p><a id="CIAIBAAJ" name="CIAIBAAJ"></a></p> |
| <div class="sect3"><!-- infolevel="all" infotype="General" --> |
| <h1><a id="sthref611" name="sthref611"></a><a id="sthref612" name="sthref612"></a><a id="sthref613" name="sthref613"></a><a id="sthref614" name="sthref614"></a><a id="sthref615" name="sthref615"></a><a id="sthref616" name="sthref616"></a><a id="sthref617" name="sthref617"></a>Queries</h1> |
| <p>This table lists the Query information fields available in the <span class="gui-object-title">JPA Details</span> view for the <code>orm.xml</code> file.</p> |
| <div class="inftblhruleinformal"> |
| <table class="HRuleInformal" title="This table describes the options on the Persistence Properties view, General tab." summary="This table describes the options on the Persistence Properties view, General tab." dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> |
| <col width="21%" /> |
| <col width="*" /> |
| <col width="23%" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t51">Property</th> |
| <th align="left" valign="bottom" id="r1c2-t51">Description</th> |
| <th align="left" valign="bottom" id="r1c3-t51">Default</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t51" headers="r1c1-t51"> |
| <p><span class="bold">Queries</span></p> |
| </td> |
| <td align="left" headers="r2c1-t51 r1c2-t51"> |
| <p>Displays the existing Named and Native queries.</p> |
| <p>Click <span class="bold">Add</span> to add a named query, or <span class="bold">Add Native</span> for a native query.</p> |
| <p>For named queries, enter the query in the Query field.</p> |
| <p>For native queries, select a result class, then enter the query in the Query field.</p> |
| </td> |
| <td align="left" headers="r2c1-t51 r1c3-t51"><br /></td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r3c1-t51" headers="r1c1-t51"> |
| <p><span class="bold">Named Queries</span></p> |
| </td> |
| <td align="left" headers="r3c1-t51 r1c2-t51"><br /></td> |
| <td align="left" headers="r3c1-t51 r1c3-t51"><br /></td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r4c1-t51" headers="r1c1-t51"> |
| <p>Name</p> |
| </td> |
| <td align="left" headers="r4c1-t51 r1c2-t51"><br /></td> |
| <td align="left" headers="r4c1-t51 r1c3-t51"><br /></td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r5c1-t51" headers="r1c1-t51"> |
| <p>Query</p> |
| </td> |
| <td align="left" headers="r5c1-t51 r1c2-t51"><br /></td> |
| <td align="left" headers="r5c1-t51 r1c3-t51"><br /></td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r6c1-t51" headers="r1c1-t51"> |
| <p>Lock mode</p> |
| </td> |
| <td align="left" headers="r6c1-t51 r1c2-t51"><br /></td> |
| <td align="left" headers="r6c1-t51 r1c3-t51"> |
| <p>None</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r7c1-t51" headers="r1c1-t51"> |
| <p><span class="bold">Native Queries</span></p> |
| </td> |
| <td align="left" headers="r7c1-t51 r1c2-t51"><br /></td> |
| <td align="left" headers="r7c1-t51 r1c3-t51"><br /></td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r8c1-t51" headers="r1c1-t51"> |
| <p>Name</p> |
| </td> |
| <td align="left" headers="r8c1-t51 r1c2-t51"><br /></td> |
| <td align="left" headers="r8c1-t51 r1c3-t51"><br /></td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r9c1-t51" headers="r1c1-t51"> |
| <p>Result class</p> |
| </td> |
| <td align="left" headers="r9c1-t51 r1c2-t51"><br /></td> |
| <td align="left" headers="r9c1-t51 r1c3-t51"><br /></td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r10c1-t51" headers="r1c1-t51"> |
| <p>Query</p> |
| </td> |
| <td align="left" headers="r10c1-t51 r1c2-t51"><br /></td> |
| <td align="left" headers="r10c1-t51 r1c3-t51"><br /></td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r11c1-t51" headers="r1c1-t51"> |
| <p><span class="bold">Query Hints</span></p> |
| </td> |
| <td align="left" headers="r11c1-t51 r1c2-t51"> |
| <p>Displays the existing query hints (Name and Value).</p> |
| <p>Click <span class="bold">Add</span> to add a new query hint.</p> |
| </td> |
| <td align="left" headers="r11c1-t51 r1c3-t51"><br /></td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="inftblhruleinformal" --> |
| <a id="sthref618" name="sthref618"></a> |
| <p class="subhead2">Related tasks</p> |
| <ul> |
| <li> |
| <p><a href="tasks010.htm#BABIGBGG">Creating queries</a></p> |
| </li> |
| </ul> |
| <a id="sthref619" name="sthref619"></a> |
| <p class="subhead2">Related reference</p> |
| <ul> |
| <li> |
| <p><a href="ref_details_orm.htm#CACGDGHC">JPA Details view (for orm.xml)</a></p> |
| </li> |
| </ul> |
| </div> |
| <!-- class="sect3" --> |
| <!-- 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 © 2011, 2013, Oracle and/or its affiliates. All rights reserved.</span><br /> |
| <a href="dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> |
| </tr> |
| </table> |
| </div> |
| <!-- class="footer" --> |
| </body> |
| </html> |