FaqDatabaseConnectivityEmbddedDbTablesMissing - Revision historyhttp://wiki.netbeans.org/wiki/index.php?title=FaqDatabaseConnectivityEmbddedDbTablesMissing&action=history
Revision history for this page on the wikienMediaWiki 1.15.1Sun, 15 Sep 2019 09:40:12 GMTAdmin at 16:38, 6 November 2009http://wiki.netbeans.org/wiki/index.php?title=FaqDatabaseConnectivityEmbddedDbTablesMissing&diff=26609&oldid=prev
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 16:38, 6 November 2009</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">__NOTOC__</del></div></td><td colspan="2">&nbsp;</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>__NOTOC__</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>__NOTOC__</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==I built a database application using an embedded database (Java DB or HSQL), but when I run it,&nbsp; none of the tables or data I created are there!==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==I built a database application using an embedded database (Java DB or HSQL), but when I run it,&nbsp; none of the tables or data I created are there!==</div></td></tr>
<!-- diff generator: internal 2019-09-15 09:40:12 -->
</table>Fri, 06 Nov 2009 16:38:33 GMTAdminhttp://wiki.netbeans.org/Talk:FaqDatabaseConnectivityEmbddedDbTablesMissingAdmin at 10:27, 5 November 2009http://wiki.netbeans.org/wiki/index.php?title=FaqDatabaseConnectivityEmbddedDbTablesMissing&diff=20233&oldid=prev
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 10:27, 5 November 2009</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2">&nbsp;</td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">__NOTOC__</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>__NOTOC__</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>__NOTOC__</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==I built a database application using an embedded database (Java DB or HSQL), but when I run it,&nbsp; none of the tables or data I created are there!==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==I built a database application using an embedded database (Java DB or HSQL), but when I run it,&nbsp; none of the tables or data I created are there!==</div></td></tr>
<!-- diff generator: internal 2019-09-15 09:40:12 -->
</table>Thu, 05 Nov 2009 10:27:11 GMTAdminhttp://wiki.netbeans.org/Talk:FaqDatabaseConnectivityEmbddedDbTablesMissingAdmin:&#32;Created page with '__NOTOC__ ==I built a database application using an embedded database (Java DB or HSQL), but when I run it, none of the tables or data I created are there!== Embedded databases…'http://wiki.netbeans.org/wiki/index.php?title=FaqDatabaseConnectivityEmbddedDbTablesMissing&diff=17761&oldid=prev
<p>Created page with &#39;__NOTOC__ ==I built a database application using an embedded database (Java DB or HSQL), but when I run it, none of the tables or data I created are there!== Embedded databases…&#39;</p>
<p><b>New page</b></p><div>__NOTOC__<br />
==I built a database application using an embedded database (Java DB or HSQL), but when I run it, none of the tables or data I created are there!==<br />
<br />
Embedded databases are just that: embedded with your application. When you run your application, your application uses a database that is part of the application. It's created in a location specific to that application. <br />
<br />
This can be confusing, but the tables and data you created in NetBeans through the Database Explorer are stored in a '''separate place'''. They won't be there when you run your application. <br />
<br />
Unlike an application talking to a database server, an application with an embedded database needs to take responsibility for creating the database, creating the tables, and creating any initial data. This is normally done when the application starts up - you check to see if the database is there and if not create it and do any initial setup you need to do. <br />
<br />
Java DB allows you to create the database automatically using &quot;;create=true&quot; in the URL, but you still need to create your tables and initial data set.</div>Wed, 04 Nov 2009 21:59:46 GMTAdminhttp://wiki.netbeans.org/Talk:FaqDatabaseConnectivityEmbddedDbTablesMissing