Skip to main content
blob: ae5f8006c65c60c8d0933decdc7558c3c8f84de3 (plain) (tree)





<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="" xml:lang="en" lang="en">
<!-- Run date = July 23, 2008 8:59:49 -->
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<title>Modifying persistent project properties</title>
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.0" />
<meta name="date" content="2005-07-10T12:57:20+08:00" />
<meta name="robots" content="noarchive" />
<meta name="doctitle" content="Modifying persistent project properties" />
<meta name="relnum" content="Release 2.0" />
<meta name="copyright" content="Copyright (c) 2000, 2008 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 Contributors: Oracle - initial API and implementation" />
<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" />
<!-- start-->
<!-- contents -->
<p><a id="BABDBCBI" name="BABDBCBI"></a></p>
<div class="sect1"><!-- infolevel="all" infotype="General" -->
<h1>Modifying persistent project properties</h1>
<p>Each persistent project must be associated with a database connection. To create a new database connection, click <span class="gui-object-action">Database Connection</span> use the New Connection wizard.</p>
<p>Use this procedure to modify the vender-specific platform and database connection associated with your JPA project.</p>
<ol start="1">
<p>Right-click the project in the <span class="gui-object-title">Explorer</span> view and select <span class="gui-object-action">Properties</span>. The Properties page appears.</p>
<div class="figure"><a id="sthref167" name="sthref167"></a>
<p class="titleinfigure">The Properties Page</p>
<img src="img/project_properties_tasks.png" alt="The Persistence page." title="The Persistence page." /><br /></div>
<!-- class="figure" --></li>
<p>Use this table to complete the remaining fields on the Properties &ndash; JPA page and click <span class="bold">OK</span>.</p>
<div class="inftblruleinformal">
<table class="RuleInformal" title="This table lists the fields in the Properties - Java Persistence dialog." summary="This table lists the fields in the Properties - Java Persistence dialog." dir="ltr" border="1" width="100%" frame="border" rules="all" cellpadding="3" cellspacing="0">
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t29">Property</th>
<th align="left" valign="bottom" id="r1c2-t29">Description</th>
<tr align="left" valign="top">
<td align="left" id="r2c1-t29" headers="r1c1-t29">Platform</td>
<td align="left" headers="r2c1-t29 r1c2-t29">Select the vendor-specific platform for the JPA implementation.</td>
<tr align="left" valign="top">
<td align="left" id="r3c1-t29" headers="r1c1-t29">Database Connection</td>
<td align="left" headers="r3c1-t29 r1c2-t29">Database connection to use to store the persistent entities. To create a new connection, click <span class="bold">Add Connection</span>.</td>
<tr align="left" valign="top">
<td align="left" id="r4c1-t29" headers="r1c1-t29">&nbsp;&nbsp;Override default schema from connection</td>
<td align="left" headers="r4c1-t29 r1c2-t29">Select a schema other than the default one derived from the connection information. Use this option if the default schema cannot be used. For example, use this option in cases where the deployment login differs from the design-time login.</td>
<br /></div>
<!-- class="inftblruleinformal" --></li>
<p>To create a new connection, click <span class="bold">Add connections</span>.</p>
<img src="img/ngrelt.png" alt="Related task" title="Related task" /><br />
<br />
<a href="task_create_new_project.htm#CIHHEJCJ">Creating a new JPA project</a>
<img src="img/ngrelr.png" alt="Related reference" title="Related reference" /><br />
<br />
<a href="ref_project_properties.htm#BABJHBCI">Project Properties page &ndash; JPA Options</a>
<img src="img/ngrelc.png" alt="Related concept" title="Related concept" /><br />
<br />
<a href="concept_persistence.htm#BABCAHIC">Understanding Java persistence</a></div>
<!-- class="sect1" -->
<!-- Start Footer -->
<div class="footer">
<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%">
<td align="left" width="86%"><a href="dcommon/html/cpyr.htm"><span class="copyrightlogo">Copyright&nbsp;&copy;&nbsp;2006, 2008,&nbsp;Oracle.&nbsp;All&nbsp;rights&nbsp;reserved.</span></a></td>
<!-- class="footer" -->

Back to the top