You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by jt...@apache.org on 2006/02/10 05:29:59 UTC
svn commit: r376541 - in /db/derby/site/trunk: build/site/faq.html
src/documentation/content/xdocs/faq.xml
Author: jta
Date: Thu Feb 9 20:29:59 2006
New Revision: 376541
URL: http://svn.apache.org/viewcvs?rev=376541&view=rev
Log:
Added FAQ entry on specifying database location that links to
http://wiki.apache.org/db-derby/DatabaseNamesRelativeAbsolute .
Modified:
db/derby/site/trunk/build/site/faq.html
db/derby/site/trunk/src/documentation/content/xdocs/faq.xml
Modified: db/derby/site/trunk/build/site/faq.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/faq.html?rev=376541&r1=376540&r2=376541&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/faq.html (original)
+++ db/derby/site/trunk/build/site/faq.html Thu Feb 9 20:29:59 2006
@@ -203,6 +203,11 @@
Does Derby have a GUI?
</a>
</li>
+<li>
+<a href="#db_name">4.10.
+ How do you specify database location?
+ </a>
+</li>
</ul>
</li>
<li>
@@ -591,9 +596,27 @@
that work with Derby.
</p>
</div>
-<a name="N1012C"></a><a name="users_sql"></a>
+<a name="N1012C"></a><a name="db_name"></a>
+<h4 class="faq">4.10.
+ How do you specify database location?
+ </h4>
+<div align="right">
+<a href="#db_name-menu">^</a>
+</div>
+<div style="margin-left: 15px">
+<p>
+ You can specify a
+ database name using an absolute or relative path.
+ Details are in the
+ <a href="http://db.apache.org/derby/docs/dev/devguide/cdevdvlp34964.html">Developer's Guide</a>
+ and helpful tips are on the
+ <a class="external" href="http://wiki.apache.org/db-derby/DatabaseNamesRelativeAbsolute">Derby
+ Wiki</a>.
+ </p>
+</div>
+<a name="N1013C"></a><a name="users_sql"></a>
<h3 class="boxed">5. Using Derby: SQL</h3>
-<a name="N10130"></a><a name="null_args"></a>
+<a name="N10140"></a><a name="null_args"></a>
<h4 class="faq">5.1.
Why can't my SQL function/procedure pass a NULL INTEGER?
</h4>
@@ -612,7 +635,7 @@
mail list topic.
</p>
</div>
-<a name="N1013C"></a><a name="limit"></a>
+<a name="N1014C"></a><a name="limit"></a>
<h4 class="faq">5.2.
Does Derby support a LIMIT command?
</h4>
@@ -625,7 +648,7 @@
<a class="external" href="http://mail-archives.eu.apache.org/mod_mbox/db-derby-dev/200411.mbox/%3c41A95632.3010301@debrunners.com%3e">JDBC</a>.
</p>
</div>
-<a name="N10148"></a><a name="schema_exist"></a>
+<a name="N10158"></a><a name="schema_exist"></a>
<h4 class="faq">5.3.
Why do I get the error 'schema does not exist'?
</h4>
@@ -657,7 +680,7 @@
to create in a particular schema and no explicit CREATE SCHEMA was issued.
</p>
</div>
-<a name="N10159"></a><a name="debug_lock_timeout"></a>
+<a name="N10169"></a><a name="debug_lock_timeout"></a>
<h4 class="faq">5.4.
I get a lock timeout error. How do I debug this?
</h4>
@@ -686,7 +709,7 @@
to narrow down which statements may be holding the locks.
</p>
</div>
-<a name="N10173"></a><a name="identity"></a>
+<a name="N10183"></a><a name="identity"></a>
<h4 class="faq">5.5.
Can Derby generate unique identifiers like sequences?
</h4>
@@ -703,9 +726,9 @@
function returns the most recently assigned number.
</p>
</div>
-<a name="N10183"></a><a name="users_client"></a>
+<a name="N10193"></a><a name="users_client"></a>
<h3 class="boxed">6. Using Derby: Client Programming</h3>
-<a name="N10187"></a><a name="clientserv"></a>
+<a name="N10197"></a><a name="clientserv"></a>
<h4 class="faq">6.1.
Can you use Derby for client-server applications?
</h4>
@@ -726,7 +749,7 @@
DB2 JDBC Universal Driver</a>.
</p>
</div>
-<a name="N1019F"></a><a name="netclient"></a>
+<a name="N101AF"></a><a name="netclient"></a>
<h4 class="faq">6.2.
Does Derby include a client-server ("network") jdbc driver?
</h4>
@@ -742,7 +765,7 @@
and it became available in Derby 10.1.
</p>
</div>
-<a name="N101AB"></a><a name="db2_jcc_errors"></a>
+<a name="N101BB"></a><a name="db2_jcc_errors"></a>
<h4 class="faq">6.3.
How can I get the message text for an error using the DB2 JDBC
Universal Driver?
@@ -760,7 +783,7 @@
mail list topic.
</p>
</div>
-<a name="N101BA"></a><a name="derby_xa"></a>
+<a name="N101CA"></a><a name="derby_xa"></a>
<h4 class="faq">6.4.
Can you execute a query that spans two Derby databases
across different JVMs?
@@ -776,7 +799,7 @@
<a href="http://db.apache.org/derby/docs/10.1/adminguide/cadminapps811478.html">Admin and Server Guide</a>.
</p>
</div>
-<a name="N101C6"></a><a name="derby_faster"></a>
+<a name="N101D6"></a><a name="derby_faster"></a>
<h4 class="faq">6.5.
Are there any tips to make Derby go faster?
</h4>
@@ -811,7 +834,7 @@
</ol>
</div>
-<a name="N101DF"></a><a name="jdbc_lob"></a>
+<a name="N101EF"></a><a name="jdbc_lob"></a>
<h4 class="faq">6.6.
Where is an example that shows how to insert a CLOB?
</h4>
Modified: db/derby/site/trunk/src/documentation/content/xdocs/faq.xml
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/src/documentation/content/xdocs/faq.xml?rev=376541&r1=376540&r2=376541&view=diff
==============================================================================
--- db/derby/site/trunk/src/documentation/content/xdocs/faq.xml (original)
+++ db/derby/site/trunk/src/documentation/content/xdocs/faq.xml Thu Feb 9 20:29:59 2006
@@ -316,6 +316,23 @@
</p>
</answer>
</faq>
+ <faq id="db_name">
+ <question>
+ How do you specify database location?
+ </question>
+ <answer>
+ <p>
+ You can specify a
+ database name using an absolute or relative path.
+ Details are in the
+ <a href="http://db.apache.org/derby/docs/dev/devguide/cdevdvlp34964.html">Developer's Guide</a>
+ and helpful tips are on the
+ <a href="http://wiki.apache.org/db-derby/DatabaseNamesRelativeAbsolute">Derby
+ Wiki</a>.
+ </p>
+ </answer>
+ </faq>
+
</faqsection>
<faqsection id="users_sql">