NetBeans6.1入门教程 数据库的基本操作

开发 后端
本文为您介绍NetBeans6.1 入门教程中的数据库的基本操作,这里将通过图片的形式,为大家提供Netbeans 6.1链接数据库等基本操作。

通过NetBeans6.1向导建立和使用数据库

***步:选择服务视图,然后展开DataBase(数据库节点),右键点击JavaDB

启动服务器,

启动服务器 

创建数据库 

填写数据库名称

建立完毕

 

第二种(重新创建表)抓取表结构实现数据库的重用

在讲如何创建表之前,先讲讲如何在已有表的情况下如何抓取表的结构(即创建表的SQL语句)

如何抓取表的结构src="https://s5.51cto.com/oss/202207/19/a4e9fdf872a681ea3ae0992cf8024083c3ecbd.jpg" width=386 height=289> </P>
<P>填写好要保存的数据表结构名字,最后点击保存。</P>
<P>这样可以重复的利用已经写好的创建数据库表的SQL语句,以后要用到类似的表达饿时候就可以将其拿来修改,或者完全不修改的使用它来创建数据库。下面是截图:</P>
<P align=center><IMG border=0 alt=创建数据库 src="https://s3.51cto.com/oss/202207/19/91d1ea14324d1bb1f5a9853d4ec01496227792.jpg" width=500 height=287> </P>
<P>选择“重新创建表” 在弹出的对话框中找到数据库表的结构文件,也就是刚才我们保存的文件。选择以后点击打开按钮。</P>
<P align=center> </P>
<P align=center><IMG border=0 alt=重新创建表 src="https://s3.51cto.com/oss/202207/19/f1ec2c49171190774779564125e11940c708f3.jpg" width=451 height=287></P>
<P align=center> <IMG border=0 alt=命名表 src="https://s6.51cto.com/oss/202207/19/b53408d14ea7752834e682dae098ec3b515d24.jpg" width=480 height=384> </P>
<P align=center><IMG border=0 alt=SQL src="https://s3.51cto.com/oss/202207/19/173d838759f6d37a08b01841923e98dcd07ce1.jpg" width=480 height=379 处于可编辑状态> </P>
<P>对于截图中的SQL 语句还需要修改一下,因为使用的是JavaDB 数据库,SQL 语句有点问题,对NEWSID 字段设置自动增长应该是</P><PRE><OL class=dp-xml><LI class=alt><SPAN><SPAN>newsid int not null GENERATED BY DEFAULT AS IDENTITY, </SPAN></SPAN></LI></OL></PRE>
<P>最终的SQL 语句如下:</P><PRE><OL class=dp-sql><LI class=alt><SPAN><SPAN class=keyword>create</SPAN><SPAN> </SPAN><SPAN class=keyword>table</SPAN><SPAN> NEWS  </SPAN></SPAN><LI><SPAN>(  </SPAN><LI class=alt><SPAN>NEWSID </SPAN><SPAN class=keyword>INTEGER</SPAN><SPAN> GENERATED </SPAN><SPAN class=keyword>BY</SPAN><SPAN> </SPAN><SPAN class=keyword>DEFAULT</SPAN><SPAN> </SPAN><SPAN class=keyword>AS</SPAN><SPAN> IDENTITY </SPAN><SPAN class=op>not</SPAN><SPAN> </SPAN><SPAN class=op>null</SPAN><SPAN> </SPAN><SPAN class=keyword>primary</SPAN><SPAN> </SPAN><SPAN class=keyword>key</SPAN><SPAN>,  </SPAN></SPAN><LI><SPAN>NEWSTITLE </SPAN><SPAN class=keyword>VARCHAR</SPAN><SPAN>(50) </SPAN><SPAN class=op>not</SPAN><SPAN> </SPAN><SPAN class=op>null</SPAN><SPAN>,  </SPAN></SPAN><LI class=alt><SPAN>NEWSCONTENT </SPAN><SPAN class=keyword>VARCHAR</SPAN><SPAN>(200) </SPAN><SPAN class=op>not</SPAN><SPAN> </SPAN><SPAN class=op>null</SPAN><SPAN>,  </SPAN></SPAN><LI><SPAN>NEWSDATE </SPAN><SPAN class=keyword>TIMESTAMP</SPAN><SPAN> </SPAN><SPAN class=keyword>default</SPAN><SPAN> </SPAN><SPAN class=func>CURRENT_TIMESTAMP</SPAN><SPAN> </SPAN><SPAN class=op>not</SPAN><SPAN> </SPAN><SPAN class=op>null</SPAN><SPAN>,  </SPAN></SPAN><LI class=alt><SPAN>NEWSCOUNT </SPAN><SPAN class=keyword>INTEGER</SPAN><SPAN> </SPAN></SPAN><LI><SPAN>) </SPAN></LI></OL></PRE>
<P>执行完以后就可以看到左边的视图中就多了NEWS这张表</P>
<P align=center><IMG border=0 alt=执行完毕 src="https://s8.51cto.com/oss/202207/19/333035169f9b517ac60530d73a2ef3a1e9d24f.jpg" width=335 height=265> </P>
<P>输出窗口中显示:</P>
<P align=center><IMG border=0 alt=输出窗口显示 src="https://s9.51cto.com/oss/202207/19/14dc62581962666ecee3704befee7bc398ba35.jpg" width=297 height=168> </P>
<P>呵呵,右键点击“表”选择“刷新” ,</P>
<P align=center><IMG border=0 alt=刷新完毕 src="https://s2.51cto.com/oss/202207/19/58dd56d28f9d65f5ac3460690d5b4a5abe8a43.jpg" width=301 height=245></P>
<P></P>
<P> </P>
<P>【编辑推荐】</P>
<OL>
<LI><A href="http://developer.51cto.com/art/200611/35426.htm">开源NetBeans 5.5集成开发环境(IDE)正式推出</A></LI>
<LI><A href="http://developer.51cto.com/art/200805/74708.htm">新版NetBeans让PHP开发更轻松 </A></LI>
<LI><A href="http://developer.51cto.com/art/200705/48202.htm">NetBeans 6.0预览版发布 Sun再引惊呼 
<LI><A href="http://developer.51cto.com/art/200905/125881.htm">使用NetBeans和Eclipse开发PHP应用程序(1) </A></LI>
<LI><A href="http://developer.51cto.com/art/200901/105267.htm">八大技术牛人点评NetBeans 6.5 </A></LI></OL>
</div> <div class="article-bottom"><span>责任编辑:张燕妮</span> <span>
                    来源:
                    3648.com</span></div> <div class="article-tags"><a href="https://so.51cto.com/?keywords=netbeans6.1" target="_blank" class="tag-item">netbeans6.1</a><a href="https://so.51cto.com/?keywords=%E5%85%A5%E9%97%A8%E6%95%99%E7%A8%8B" target="_blank" class="tag-item">入门教程</a></div></article> <div class="zan"><img src="https://s5-media.51cto.com/cms/client/img/zanpc.bd208a1.png" alt> <img src="https://s5-media.51cto.com/cms/client/img/zanpchover.fdd60ba.png" alt class="unhover"></div> <div class="share" style="display:;"><div class="share-item"><img src="https://s5-media.51cto.com/cms/client/img/weixin.23cd8b3.png" alt> <span>分享到微信</span> <div class="wx-show" style="display:none;"><div id="qrcodediv2"></div> <p>微信扫码分享</p></div></div> <div class="share-item"><img src="https://s5-media.51cto.com/cms/client/img/weibo.16d6b4f.png" alt> <span>分享到微博</span></div></div> <section class="relevant-recommend"><div class="title">相关推荐</div> <div class="recommend-list"><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><!----> <div class="article-irl-c"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/127117.html" target="_blank" class="usehover article-irl-ct_title">使用<em>Netbeans</em><em>操作</em>MySQL<em>数据库</em></a> <!----> <!----></div> <a href="https://www.51cto.com/article/127117.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">Netbeans集成开发环境支持各种主流数据库,在开发中带来很多便利,节省时间。本文介绍了如何使用Netbeans操作MySQL数据库。</a></div> <div class="article-irl-cb_fixed"><p class="article-irl-cb_time">2009-06-04 15:59:53</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=Netbeans%E6%93%8D%E4%BD%9CMySQL" class="split-left-m usehover">Netbeans操作M</a><a target="_blank" href="https://so.51cto.com/?keywords=MySQL%E6%95%B0%E6%8D%AE%E5%BA%93" class="split-left-m usehover">MySQL数据库</a></div></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><div class="article-irl-img usehover"><a href="https://www.51cto.com/article/577910.html" target="_blank"><img src="https://s2.51cto.com/oss/201807/05/42e8952890560b69108564976c31b143.jpg?x-oss-process=image/resize,m_fixed,w_142,h_82" alt></a></div> <div class="article-irl-c split-left-l"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/577910.html" target="_blank" class="usehover article-irl-ct_title">浏览器<em>数据库</em>IndexedDB<em>入门教程</em></a> <!----> <!----></div> <a href="https://www.51cto.com/article/577910.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">IndexedDB就是浏览器提供的本地数据库,它可以被网页脚本创建和操作。IndexedDB允许储存大量数据,提供查找接口,还能建立索引。这些都是LocalStorage所不具备的。就数据库类型而言,IndexedDB不属于关系型数据库(不支持SQL查询语句),更接近NoSQL数据库。</a></div> <div class="article-irl-cb"><p class="article-irl-cb_time">2018-07-05 11:30:56</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=%E6%95%B0%E6%8D%AE%E5%BA%93" class="split-left-m usehover">数据库</a><a target="_blank" href="https://so.51cto.com/?keywords=%E6%B5%8F%E8%A7%88%E5%99%A8" class="split-left-m usehover">浏览器</a><a target="_blank" href="https://so.51cto.com/?keywords=IndexedDB" class="split-left-m usehover">IndexedDB</a></div></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><!----> <div class="article-irl-c"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/271526.html" target="_blank" class="usehover article-irl-ct_title">QT<em>数据库</em>连接<em>操作</em><em>基本</em>学习<em>教程</em></a> <!----> <!----></div> <a href="https://www.51cto.com/article/271526.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">本文介绍的是QT数据库连接操作数据库基本学习,作为程序员我们都知道,数据库是必不可少的,那么本文简单的介绍数据库,然后再深入的介绍,先来看内容。</a></div> <div class="article-irl-cb_fixed"><p class="article-irl-cb_time">2011-06-27 12:56:28</p> <!----></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><!----> <div class="article-irl-c"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/321858.html" target="_blank" class="usehover article-irl-ct_title">Android SQLite3基础<em>入门教程</em>:建立<em>数据库</em></a> <!----> <!----></div> <a href="https://www.51cto.com/article/321858.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">本文将介绍AndroidSQLite3基础入门教程——建立数据库。Android中,SQLite是被集成于Androidruntime,每个Android应用程序都可以欢快的使用SQLite数据库,如果你熟悉JDBC,那么这个过程就更安逸了。</a></div> <div class="article-irl-cb_fixed"><p class="article-irl-cb_time">2012-03-06 09:50:24</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=Android+SQLite3" class="split-left-m usehover">Android SQL</a><a target="_blank" href="https://so.51cto.com/?keywords=Android" class="split-left-m usehover">Android</a><a target="_blank" href="https://so.51cto.com/?keywords=SQLite3" class="split-left-m usehover">SQLite3</a></div></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><!----> <div class="article-irl-c"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/273027.html" target="_blank" class="usehover article-irl-ct_title">MySQL<em>数据库</em>新特性之存储过程<em>入门教程</em></a> <!----> <!----></div> <a href="https://www.51cto.com/article/273027.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">在MYSQL5中,终于引入了存储过程这一新特性,这将大大增强MYSQL的数据库处理能力,在本文中,将指导读者快速掌握MYSQL5的存储过程的基本知识,带领用户入门。</a></div> <div class="article-irl-cb_fixed"><p class="article-irl-cb_time">2011-07-04 11:38:06</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=MySQL" class="split-left-m usehover">MySQL</a></div></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><!----> <div class="article-irl-c"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/265975.html" target="_blank" class="usehover article-irl-ct_title">.NET<em>入门教程</em> 学习.NET<em>的</em>几个<em>基本</em>步骤</a> <!----> <!----></div> <a href="https://www.51cto.com/article/265975.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">本文介绍的是.NET初学者的入门教程,学习.NET的几个步骤,希望对你有帮助,一起来看。</a></div> <div class="article-irl-cb_fixed"><p class="article-irl-cb_time">2011-05-31 15:06:57</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=.NET" class="split-left-m usehover">.NET</a></div></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><!----> <div class="article-irl-c"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/202621.html" target="_blank" class="usehover article-irl-ct_title">MySQL<em>数据库</em><em>的</em><em>基本</em><em>操作</em>演示</a> <!----> <!----></div> <a href="https://www.51cto.com/article/202621.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">此文章主要是向大家讲述的是MySQL数据库的基本操作,如果你是其方面的新手,那么以下的文章对你而言一定很有意义。</a></div> <div class="article-irl-cb_fixed"><p class="article-irl-cb_time">2010-05-28 14:51:47</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=MySQL%E6%95%B0%E6%8D%AE%E5%BA%93" class="split-left-m usehover">MySQL数据库</a></div></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><!----> <div class="article-irl-c"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/195213.html" target="_blank" class="usehover article-irl-ct_title"><em>入门</em>必看:Oracle 9i<em>数据库</em><em>基本</em><em>操作</em>指南</a> <!----> <!----></div> <a href="https://www.51cto.com/article/195213.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">虽然现在Oracle已经出到11g了,但是Oracle目前用得最广泛的还是9i。所以接下来,我们就简单的介绍下Oracle9i数据库基本操作,帮助新手快速上路。</a></div> <div class="article-irl-cb_fixed"><p class="article-irl-cb_time">2010-04-19 13:12:36</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=Oracle+9i%E6%95%B0%E6%8D%AE%E5%BA%93" class="split-left-m usehover">Oracle 9i数据</a></div></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><!----> <div class="article-irl-c"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/128109.html" target="_blank" class="usehover article-irl-ct_title"><em>NetBeans</em> 6.0<em>教程</em>:模块快速<em>入门</em></a> <!----> <!----></div> <a href="https://www.51cto.com/article/128109.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">本NetBeans6.0教程将展示如何创建一个模块来向IDE或其他基于NetBeans平台的应用程序添加一个Google查询工具栏。</a></div> <div class="article-irl-cb_fixed"><p class="article-irl-cb_time">2009-06-10 20:03:54</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=netbeans6.0%E6%95%99%E7%A8%8B" class="split-left-m usehover">netbeans6.0</a><a target="_blank" href="https://so.51cto.com/?keywords=%E6%A8%A1%E5%9D%97" class="split-left-m usehover">模块</a></div></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><!----> <div class="article-irl-c"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/127817.html" target="_blank" class="usehover article-irl-ct_title"><em>NetBeans</em>使用<em>教程</em><em>入门</em>篇</a> <!----> <!----></div> <a href="https://www.51cto.com/article/127817.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">NetBeans是新近流行的一款堪与Eclipse媲美的IDE,有Sun的支持。下面是NetBeans使用教程入门篇。</a></div> <div class="article-irl-cb_fixed"><p class="article-irl-cb_time">2009-06-09 13:02:30</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=NetBeans" class="split-left-m usehover">NetBeans</a><a target="_blank" href="https://so.51cto.com/?keywords=%E4%BD%BF%E7%94%A8" class="split-left-m usehover">使用</a><a target="_blank" href="https://so.51cto.com/?keywords=%E6%95%99%E7%A8%8B" class="split-left-m usehover">教程</a></div></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><!----> <div class="article-irl-c"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/128216.html" target="_blank" class="usehover article-irl-ct_title"><em>Netbeans</em> UML建模<em>入门</em>及<em>操作</em></a> <!----> <!----></div> <a href="https://www.51cto.com/article/128216.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">本文主要介绍了在Netbeans下如何使用UML建模。NetbeansUML建模是在开发阶段,说明,可视化,构建和书写一个面向对象软件密集系统的制品的开放方法。</a></div> <div class="article-irl-cb_fixed"><p class="article-irl-cb_time">2009-06-11 11:05:51</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=netbeans+uml%E5%BB%BA%E6%A8%A1" class="split-left-m usehover">netbeans um</a><a target="_blank" href="https://so.51cto.com/?keywords=%E5%85%A5%E9%97%A8" class="split-left-m usehover">入门</a></div></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><div class="article-irl-img usehover"><a href="https://www.51cto.com/article/702183.html" target="_blank"><img src="https://s7.51cto.com/oss/202202/22/91f902843d7c3cd8e457887998f02d0d7f2c3c.png?x-oss-process=image/resize,m_fixed,w_142,h_82" alt></a></div> <div class="article-irl-c split-left-l"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/702183.html" target="_blank" class="usehover article-irl-ct_title">Vue新<em>的</em>状态管理<em>库</em>Pinia<em>入门教程</em></a> <!----> <!----></div> <a href="https://www.51cto.com/article/702183.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">为什么最近Pinia会火起来呢,主要在于Vue3推出来的时候,Vuex对于Vue3的组合式Api支持的不是特别好,也就是在这个时候Pinia出现了。</a></div> <div class="article-irl-cb"><p class="article-irl-cb_time">2022-02-22 07:37:26</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=Vue" class="split-left-m usehover">Vue</a><a target="_blank" href="https://so.51cto.com/?keywords=Pinia" class="split-left-m usehover">Pinia</a><a target="_blank" href="https://so.51cto.com/?keywords=%E6%80%81%E7%AE%A1%E7%90%86%E5%BA%93" class="split-left-m usehover">态管理库</a></div></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><div class="article-irl-img usehover"><a href="https://www.51cto.com/article/801516.html" target="_blank"><img src="https://s3.51cto.com/oss/202411/12/b93fc8288a0861580908507758310bc50cb5db.png?x-oss-process=image/resize,m_fixed,w_142,h_82" alt></a></div> <div class="article-irl-c split-left-l"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/801516.html" target="_blank" class="usehover article-irl-ct_title">简明<em>的</em> Arthas <em>入门教程</em></a> <!----> <!----></div> <a href="https://www.51cto.com/article/801516.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">为了让读者可以快速了并熟练掌握Arhtas的基本使用,笔者就以几个比较常见的例子来演示一下Arthas的日常使用的常规套路。</a></div> <div class="article-irl-cb"><p class="article-irl-cb_time">2024-11-12 15:46:37</p> <!----></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><!----> <div class="article-irl-c"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/186454.html" target="_blank" class="usehover article-irl-ct_title">Python<em>操作</em>Access<em>数据库</em><em>基本</em><em>操作</em>步骤分析</a> <!----> <!----></div> <a href="https://www.51cto.com/article/186454.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">我们在这篇文章中公分了五个步骤详细分析了Python操作Access数据库的相关方法,希望可以给又需要的朋友们带来一些帮助。</a></div> <div class="article-irl-cb_fixed"><p class="article-irl-cb_time">2010-03-04 13:47:13</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=Python%E6%93%8D%E4%BD%9CAccess%E6%95%B0%E6%8D%AE%E5%BA%93" class="split-left-m usehover">Python操作Acc</a></div></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><!----> <div class="article-irl-c"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/188490.html" target="_blank" class="usehover article-irl-ct_title">关于Python<em>入门教程</em>中编辑器<em>的</em><em>操作</em></a> <!----> <!----></div> <a href="https://www.51cto.com/article/188490.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">如果你对Python入门教程很感兴趣的话,想在此方面有更好的了解,你可以浏览我们的文章,我们的文章对其具体的应用有相关简介介绍。</a></div> <div class="article-irl-cb_fixed"><p class="article-irl-cb_time">2010-03-12 14:26:58</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=Python%E5%85%A5%E9%97%A8%E6%95%99%E7%A8%8B" class="split-left-m usehover">Python入门教程</a></div></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><!----> <div class="article-irl-c"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/126454.html" target="_blank" class="usehover article-irl-ct_title">JPA继承类在<em>NetBeans</em> <em>6.1</em>中遭遇<em>的</em>问题</a> <!----> <!----></div> <a href="https://www.51cto.com/article/126454.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">用NetBeans6.1做一个关于继承类的JPA练习中碰到了问题。本文将先您简单描述问题并解决。</a></div> <div class="article-irl-cb_fixed"><p class="article-irl-cb_time">2009-06-02 10:28:36</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=JPA" class="split-left-m usehover">JPA</a><a target="_blank" href="https://so.51cto.com/?keywords=%E7%BB%A7%E6%89%BF%E7%B1%BB" class="split-left-m usehover">继承类</a><a target="_blank" href="https://so.51cto.com/?keywords=Netbeans" class="split-left-m usehover">Netbeans</a></div></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><div class="article-irl-img usehover"><a href="https://www.51cto.com/article/523850.html" target="_blank"><img src="http://s2.51cto.com/wyfs02/M00/8B/01/wKioL1hBWpjjSp2TAABU6xEfaXw281.jpg?x-oss-process=image/resize,m_fixed,w_142,h_82" alt></a></div> <div class="article-irl-c split-left-l"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/523850.html" target="_blank" class="usehover article-irl-ct_title">干货|大<em>数据</em>Hadoop快速<em>入门教程</em></a> <!----> <!----></div> <a href="https://www.51cto.com/article/523850.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">Hadoop是一个由Apache基金会所开发的分布式系统集成架构,用户可以在不了解分布式底层细节情况下,开发分布式程序,充分利用集群的威力来进行高速运算与存储,具有可靠、高效、可伸缩的特点。</a></div> <div class="article-irl-cb"><p class="article-irl-cb_time">2016-12-02 19:19:35</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=%E5%A4%A7%E6%95%B0%E6%8D%AE" class="split-left-m usehover">大数据</a><a target="_blank" href="https://so.51cto.com/?keywords=Hadoop" class="split-left-m usehover">Hadoop</a></div></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><!----> <div class="article-irl-c"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/216099.html" target="_blank" class="usehover article-irl-ct_title">Flex Builder<em>入门教程</em></a> <!----> <!----></div> <a href="https://www.51cto.com/article/216099.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">学习Flex时你可能会遇到FlexBuilder这样的问题,这里和大家分享一下,FlexBuilder是Macromedia的IDE,用于Flex应用程序开发。</a></div> <div class="article-irl-cb_fixed"><p class="article-irl-cb_time">2010-08-03 13:06:15</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=Flex+Builder" class="split-left-m usehover">Flex Builde</a></div></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl article-irl_border"><!----> <div class="article-irl-c"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/408733.html" target="_blank" class="usehover article-irl-ct_title">Storm<em>入门教程</em>:前言</a> <!----> <!----></div> <a href="https://www.51cto.com/article/408733.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">Storm是一个开源的分布式实时计算系统,可以简单、可靠的处理大量的数据流。Storm的部署和运维都很便捷,而且更为重要的是可以使用任意编程语言来开发应用。本教程是一本对storm的基础介绍手册,希望帮助所有愿意使用实时流处理框架的技术同仁。</a></div> <div class="article-irl-cb_fixed"><p class="article-irl-cb_time">2013-08-29 14:12:52</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=Storm" class="split-left-m usehover">Storm</a><a target="_blank" href="https://so.51cto.com/?keywords=%E5%88%86%E5%B8%83%E5%BC%8F" class="split-left-m usehover">分布式</a><a target="_blank" href="https://so.51cto.com/?keywords=%E5%AE%9E%E6%97%B6%E8%AE%A1%E7%AE%97" class="split-left-m usehover">实时计算</a></div></div></div></div> <!----></div><div class="article-articleitem article-ir articleItem"><div class="article-irl"><!----> <div class="article-irl-c"><div class="title-box"><div class="article-irl-ct"><a href="https://www.51cto.com/article/440528.html" target="_blank" class="usehover article-irl-ct_title">Web Components<em>入门教程</em></a> <!----> <!----></div> <a href="https://www.51cto.com/article/440528.html" target="_blank" class="split-top-m usehover pc-three-line article-abstract">今天,Web组件已经从本质上改变了HTML。初次接触时,它看起来像一个全新的技术。Web组件最初的目的是使开发人员拥有扩展浏览器标签的能力,可以自由的进行定制组件。</a></div> <div class="article-irl-cb_fixed"><p class="article-irl-cb_time">2014-05-26 15:35:55</p> <div class="article-irl-cb_sign"><a target="_blank" href="https://so.51cto.com/?keywords=Web%E7%BB%84%E4%BB%B6" class="split-left-m usehover">Web组件</a><a target="_blank" href="https://so.51cto.com/?keywords=Web+Components" class="split-left-m usehover">Web Compone</a></div></div></div></div> <!----></div></div></section></div> <aside class="article-right"><!----><div class="advert"><div data-src="https://gg.51cto.com/www/delivery/ajs.php?zoneid=1301&cb=1732264690&v=article_right_corner" class="advert-wrap article_right_corner"></div></div><!----><!----><!----><!----> <div class="follow-topic"><h3>相似话题</h3> <div class="follow-topic-list"><div class="follow-topic-item"><a href="https://www.51cto.com/frontend" target="_blank" class="follow-topic-title"><i class="ctoicon ctoa-"></i> <div>前端</div></a> <a href="https://www.51cto.com/frontend" target="_blank" class="follow-topic-nums"><span>26809内容</span></a></div><div class="follow-topic-item"><a href="https://www.51cto.com/tool" target="_blank" class="follow-topic-title"><i class="ctoicon ctoa-"></i> <div>开发工具</div></a> <a href="https://www.51cto.com/tool" target="_blank" class="follow-topic-nums"><span>7302内容</span></a></div><div class="follow-topic-item"><a href="https://www.51cto.com/test" target="_blank" class="follow-topic-title"><i class="ctoicon ctoa-"></i> <div>测试</div></a> <a href="https://www.51cto.com/test" target="_blank" class="follow-topic-nums"><span>512内容</span></a></div><div class="follow-topic-item"><a href="https://www.51cto.com/game" target="_blank" class="follow-topic-title"><i class="ctoicon ctoa-"></i> <div>游戏开发</div></a> <a href="https://www.51cto.com/game" target="_blank" class="follow-topic-nums"><span>653内容</span></a></div></div> <a href="https://www.51cto.com/topic" target="_blank" class="see-more"><span>全部话题</span> <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAGKADAAQAAAABAAAAGAAAAADiNXWtAAACT0lEQVRIDZWUPYgTQRTHdzdR0yjRTgOKnViIvVYiooLIieTwQCLkC05UhAPRwlJETpRrjnwiEkSDqETwLARB0FoQwVIRsZOIEDxDEn9vbyZkc5O5zEDy3tv5z++9Nzuzfrlcvul53oUgCK7kcrmX+Nbhqg+gzQ8Gg739fr9ZKpUOW+lrk076APgTWYdNYFr1en3/Gsf876qXDhZ833+jcNu73e5KrVbbZcaHT530QbFY7MZisTMk+aigu3u93kqj0dhmSuKqlw68bDb7h9ZPkuSbxPgHOp3O82azuVni8eGiDxMIgMp+Aj5Okl8S4x9pt9sPsL7E42Na/TCBAFj0BXOKJH8lBn6uUqncEd80ptFHEgikUCh8EDBuX2L8BY7vZfFNYyP9ugQCobIXdHFpBHiPTs6OxBHXpjfur17Nrb1FB9dVvMppO8Ztf6fnx61Jb+xAL6T9G3TyUMVbOL5Les5kTXprAqr3+Q01JLN2bNLHTJXoZ6lU6jb+vIpli+ZarVZ4V7Rm1Jr0w+pGheLzUi9S0TXxKXyAOW/b/0l6Y8u8rBngT4GGBfApv5rP5+9LMtOw6dd1UK1WDwF5xE/P3bXBN9JHOuBC7WM73lP9DqkU/zHwObVF8igyptHrKj3EOwG91nBIb5PJZMYCn0ofJuD7vxXQK+B7VImfsDPpdPpfpGQVuOjjVL6JC/QM+EG1/nsikTiRyWR+m+Cu+jiQReBHBUYXbYzAf0g8YTjp40BnSSCsVY7jac765wng8LGrPmDBMiu/Ap+1XSSd1FX/H7GkjBB3TDEJAAAAAElFTkSuQmCC" alt></a></div> <div class="hot-article"><h3>同话题下的热门内容</h3> <div class="hot-article-list"><a href="https://www.51cto.com/article/802011.html" target="_blank" class="hot-article-item">Python 人工智能项目的五大实战技巧</a><a href="https://www.51cto.com/article/802116.html" target="_blank" class="hot-article-item">Python 云服务集成的五大案例</a><a href="https://www.51cto.com/article/802018.html" target="_blank" class="hot-article-item">Java 对象大小的精确计算方法</a><a href="https://www.51cto.com/article/802030.html" target="_blank" class="hot-article-item">Python 路径操作的五大实用命令</a><a href="https://www.51cto.com/article/802113.html" target="_blank" class="hot-article-item">一文教你如何利用 Python 进行科学计算</a><a href="https://www.51cto.com/article/802148.html" target="_blank" class="hot-article-item">终于把统计学中的抽样方法搞懂了!!!</a><a href="https://www.51cto.com/article/801918.html" target="_blank" class="hot-article-item">从零开始理解 Java 内存模型——可见性与有序性详解</a><a href="https://www.51cto.com/article/802119.html" target="_blank" class="hot-article-item">使用 Python 列表推导式解决实际问题</a></div></div> <!----> <div class="relevant-topic"><h3><span>相关专题</span> <a href="https://www.51cto.com/specials" target="_blank">更多</a></h3> <a href="https://server.51cto.com/act/nzpx/2024" target="_blank" class="first-topic"><div class="first-topic-cover"><img src="https://s3.51cto.com/oss/202411/05/e7d3ccb174c0db8e6ef017cb259e1376c2d696.jpg" alt="2024年第十九届中国企业年终评选"></div> <div class="first-topic-title">2024年第十九届中国企业年终评选</div></a> <div class="relevant-topic-list"><a href="https://cloud.51cto.com/act/dataflywheel/2024" target="_blank" class="relevant-topic-item"><div class="relevant-topic-cover"><img src="https://s8.51cto.com/oss/202409/11/52d2412495be0f336e45519df34c5b4fcd58c0.png" alt="如何发挥数据的最大力量?"></div> <div class="relevant-topic-info"><div class="relevant-topic-title">如何发挥数据的最大力量?</div> <div class="relevant-topic-time">2024-09-11 10:06:01</div></div></a><a href="https://cloud.51cto.com/act/hmos/202407" target="_blank" class="relevant-topic-item"><div class="relevant-topic-cover"><img src="https://s2.51cto.com/oss/202408/29/540063f04ca45f992b52502dd7ad5362311af2.jpg" alt="HarmonyOS创新探索与应用实践· 开发者系列沙龙"></div> <div class="relevant-topic-info"><div class="relevant-topic-title">HarmonyOS创新探索与应用实践· 开发者系列沙龙</div> <div class="relevant-topic-time">2024-08-07 16:28:10</div></div></a></div></div> <div class="my-follow-btn">我收藏的内容</div> <div class="components-topic-edit edit articleStyle"><a href="https://www.51cto.com/editor.html#article"><img src="https://s5-media.51cto.com/cms/static/img/edit.jpg" alt></a></div> <div id="postionSet" class="toppostion"></div></aside> <div class="left-window"><div class="window-item zan"><img src="https://s5-media.51cto.com/cms/client/img/zanpc10.eeddee9.png" alt="点赞"> <img src="https://s5-media.51cto.com/cms/client/img/zanhover.6138b44.png" alt class="unhover"></div> <div class="window-item collect"><img src="https://s5-media.51cto.com/cms/client/img/collect.6dfb91c.png" alt="收藏"> <img src="https://s5-media.51cto.com/cms/client/img/collecthover.2ffcc8f.png" alt class="unhover"></div> <div class="window-item share" style="display:;"><img src="https://s5-media.51cto.com/cms/client/img/share.ca08f33.png" alt="分享"> <div class="share-div" style="display:none;"><div class="share-item"><i class="ctoicon ctoweibo1"></i> <span>微博</span></div> <div class="share-item"><i class="ctoicon ctoqq"></i> <span>QQ</span></div> <div class="share-item wxshare"><i class="ctoicon ctoweixin1"></i> <span>微信</span></div> <div class="share-item"><i class="ctoicon ctoURL"></i> <span>复制链接</span></div> <div class="wxshare-div"><div id="qrcodediv"></div> <p>微信扫码分享</p></div></div></div></div> <!----> <!----></div></section> <footer id="footerSet" class="components-common-footer footer"><div class="total-footer"><div class="top-set"><div class="left-work"><h3 class="common-h3">51CTO业务</h3> <ul class="nav-link"><li><div class="name-type">媒体</div> <a href="https://www.51cto.com/" target="_blank">51CTO</a><a href="https://www.cioage.com/" target="_blank">CIOAge</a><a href="https://www.hc3i.cn/" target="_blank">HC3i</a><a href="https://www.51cto.com/techplur" target="_blank">Techplur</a></li><li><div class="name-type">社区</div> <a href="https://blog.51cto.com/" target="_blank">51CTO博客</a><a href="https://rk.51cto.com/" target="_blank">软考社区</a><a href="https://ost.51cto.com/" target="_blank">鸿蒙开发者社区</a><a href="https://www.51cto.com/aigc/" target="_blank">AI.x社区</a></li><li><div class="name-type">教育</div> <a href="https://edu.51cto.com/" target="_blank">51CTO学堂</a><a href="https://e.51cto.com/?utm_platform=pc&utm_medium=51cto&utm_source=zhuzhan&utm_content=sy_topbar&rtm_frd=4" target="_blank">精培</a><a href="https://b.51cto.com/index?utm_source=hometop" target="_blank">企业培训</a><a href="https://x.51cto.com/act/cto/camp" target="_blank">CTO训练营</a></li></ul> <div><ul class="tr_task" style="display:none;"><li><img src="https://static1.51cto.com/www/images/ewm_8.jpg" alt> <span>51CTO学堂</span></li> <li><img src="https://static1.51cto.com/www/images/ewm_qy.png" alt> <span>51CTO学堂企业版</span></li> <i class="kuai"></i></ul> <ul class="tr_task_weixin" style="display:none;"><li><img src="https://static1.51cto.com/www/images/ewm_3.jpeg" alt> <span>51CTO官微</span></li> <li><img src="https://static1.51cto.com/www/images/ewm_4.jpeg" alt> <span>51CTO</span></li> <i class="kuai"></i></ul> <div class="tr_foot"><i class="ctoicon ctoweixin"></i> <a href="https://weibo.com/51cto001?is_all=1" target="_blank" rel="noopener noreferrer"><i class="ctoicon ctoweibo"></i></a> <span><i class="ctoicon ctoapp"></i></span></div></div></div> <div class="middle"><h3 class="common-h3">关于我们&条款</h3> <div class="about"><div><ul class="detail-link"><li><a href="https://www.51cto.com/about/aboutus.html" target="_blank">关于我们</a></li> <li><a href="https://www.51cto.com/about/news.html" target="_blank">新闻动态</a></li> <li><a href="https://www.51cto.com/about/map.html" target="_blank">站点地图</a></li> <li><a href="https://www.51cto.com/about/aboutus.html#feedback" target="_blank">意见反馈</a></li> <li><a href="https://www.51cto.com/about/aboutus_e.html" target="_blank">English</a></li> <li><a href="https://edu.51cto.com/center/other/service" target="_blank">用户协议</a></li> <li><a href="https://edu.51cto.com/center/other" target="_blank">隐私协议</a></li></ul></div> <div class="address"><p>
                            北京市海淀区中关村南1条甲1号ECO中科爱克大厦6-7层
                        </p> <p>
                            北京市公安局海淀分局备案编号:110108002980号
                            <br>营业执照
                            <a href="https://beian.miit.gov.cn/" target="_blank" class="record-number">京ICP备09067568号</a></p> <p>
                            Copyright © 2005-2024 51CTO.COM
                            京ICP证060544 版权所有 未经许可 请勿转载
                        </p> <div class="address_img"><a href="https://image.51cto.com/images/51cto-icp.jpg" target="_blank"><img src="https://s7.51cto.com/wyfs02/M02/73/FD/wKiom1YLhe6Rz4cRAAAXp7l7roQ463.jpg" alt></a></div> <p class="pl"><a href="https://s2.51cto.com/media/license/zz.jpg" target="_blank">
                                营业执照
                            </a> <a href="https://s2.51cto.com/media/license/xkz.jpg" target="_blank">
                                出版物经营许可证
                            </a></p></div></div></div> <div class="right-link"><h3 class="common-h3">友情链接</h3> <div class="links clearfix"><a href="https://tech.sina.com.cn/" target="_blank">新浪科技</a><a href="https://tech.qq.com/" target="_blank">腾讯科技</a><a href="https://tech.163.com/" target="_blank">网易科技</a><a href="https://tech.ifeng.com/" target="_blank">凤凰科技</a><a href="https://www.mydrivers.com/" target="_blank">驱动科技</a><a href="https://www.techwalker.com/" target="_blank">科技行者</a><a href="http://www.techweb.com.cn/" target="_blank">TechWeb</a><a href="https://www.iresearch.cn/" target="_blank">艾瑞网</a><a href="http://www.chinaz.com/" target="_blank">站长之家</a><a href="https://www.sootoo.com/" target="_blank">速途网</a><a href="http://www.cet.com.cn/" target="_blank">中国经济新闻网</a><a href="https://www.ithome.com/" target="_blank">IT之家</a><a href="http://www.iitime.com.cn/" target="_blank">工联网</a><a href="https://www.geekpark.net/" target="_blank">极客公园</a><a href="https://www.263.net/" target="_blank">236视频会议</a><a href="http://www.idcquan.com/" target="_blank">中国IDC圈</a><a href="http://www.d1net.com/" target="_blank">企业网D1Net</a><a href="https://www.pedaily.cn/" target="_blank">投资界</a><a href="https://metafun-space.com/" target="_blank">次方元</a><a href="https://www.volcengine.com/?utm_campaign=51CTO_2024&utm_content=youlian&utm_medium=51CTO&utm_source=youlian_2024&utm_term=51CTO_youlian" target="_blank">火山引擎</a></div></div></div></div></footer> <section class="suspension-pendant_r"><div class="erweima-title" style="display:none;"><img src="https://s5-media.51cto.com/cms/static/img/erweima.png" alt=""> <p>51CTO技术栈公众号</p></div> <div class="erweima-box"><p>51CTO技术栈公众号</p> <img src="https://s5-media.51cto.com/cms/static/img/video.jpg" alt=""></div></section> <div class="components-common-suspension po_top"><div class="cbbfixed"><span class="business">
            业务
            <br>速览
        </span> <span class="line"></span> <div class="customer_service js_customer zhiCustomBtn" style="height: 36px;"><i class="ctoicon ctokefu"></i> <div class="tooltip_set js_tooltip">在线客服</div></div> <span class="line"></span> <i class="ctoicon ctoxiangshang"></i></div> <div class="cbb_con"><div><div class="title-li">媒体</div> <a href="https://www.51cto.com/" target="_blank">51CTO</a> <a href="https://www.cioage.com/" target="_blank">CIOAge</a> <a href="https://www.hc3i.cn/" target="_blank">HC3i</a></div> <div><div class="title-li">社区</div> <a href="https://blog.51cto.com/" target="_blank">51CTO博客</a> <a href="https://ost.51cto.com/" target="_blank">鸿蒙开发者社区</a> <a href="https://www.51cto.com/aigc/" target="_blank">AI.x社区</a></div> <div><div class="title-li">教育</div> <a href="https://edu.51cto.com/" target="_blank">51CTO学堂</a> <a href="https://e.51cto.com/?utm_platform=pc&utm_medium=51cto&utm_source=zhuzhan&utm_content=sy_topbar&rtm_frd=4" target="_blank">精培</a> <a href="https://b.51cto.com/index?utm_source=hometop" target="_blank">企业培训</a> <a href="https://x.51cto.com/act/cto/camp" target="_blank">CTO训练营</a></div></div></div> <!----> <!----></div></div></div><script>window.__CTOWEB__=(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,_,$,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al){return {layout:"default",data:[{baseInfo:{article_id:128761,title:"NetBeans6.1入门教程 数据库的基本操作",author:"佚名",author_user_id:c,pubdate:"2009-06-15 13:59:00",abstract:"本文为您介绍NetBeans6.1 入门教程中的数据库的基本操作,这里将通过图片的形式,为大家提供Netbeans 6.1链接数据库等基本操作。",editor:"张燕妮",source:"3648.com",source_url:a,article_type:[],topics:[{parent_topic_id:c,topic_id:b,name:k,name_en:"developer",url:y},{name_en:"backend",name:z,topic_id:e,parent_topic_id:b,url:"https:\u002F\u002Fwww.51cto.com\u002Fbackend"}],keywords:[{name:"netbeans6.1",url:"https:\u002F\u002Fso.51cto.com\u002F?keywords=netbeans6.1"},{name:"入门教程",url:"https:\u002F\u002Fso.51cto.com\u002F?keywords=%E5%85%A5%E9%97%A8%E6%95%99%E7%A8%8B"}],content:"\u003CP\u003E\u003CSTRONG\u003E通过NetBeans6.1向导建立和使用数据库\u003C\u002FSTRONG\u003E \u003C\u002FP\u003E\r\n\u003CP\u003E***步:选择服务视图,然后展开DataBase(数据库节点),右键点击JavaDB \u003C\u002FP\u003E\r\n\u003CP\u003E启动服务器,\u003C\u002FP\u003E\r\n\u003CP align=center\u003E\u003CIMG border=0 alt=启动服务器 src=\"https:\u002F\u002Fs9.51cto.com\u002Foss\u002F202207\u002F19\u002F9426707877be5001b71506ab064b3a6d8c07d1.jpg\" width=269 height=243\u003E \u003C\u002FP\u003E\r\n\u003CP align=center\u003E\u003CIMG border=0 alt=创建数据库 src=\"https:\u002F\u002Fs8.51cto.com\u002Foss\u002F202207\u002F19\u002F39ecedb620c35ad3386054cade4c0b69da2c1b.jpg\" width=324 height=272\u003E \u003C\u002FP\u003E\r\n\u003CP align=center\u003E\u003CIMG border=0 alt=填写数据库名称 src=\"https:\u002F\u002Fs9.51cto.com\u002Foss\u002F202207\u002F19\u002Fb24e2b739df9d7e882a3373245fd1bf4dd1ed0.jpg\" width=480 height=263\u003E\u003C\u002FP\u003E\r\n\u003CP align=center\u003E\u003CIMG border=0 alt=建立完毕 src=\"https:\u002F\u002Fs6.51cto.com\u002Foss\u002F202207\u002F19\u002F7659bfd14cb9f34f66e3886cb613418600d19e.jpg\" width=353 height=202\u003E\u003C\u002FP\u003E\r\n\u003CP\u003E \u003C\u002FP\u003E\r\n\u003CP\u003E第二种(重新创建表)抓取表结构实现数据库的重用\u003C\u002FP\u003E\r\n\u003CP\u003E在讲如何创建表之前,先讲讲如何在已有表的情况下如何抓取表的结构(即创建表的SQL语句)\u003C\u002FP\u003E\r\n\u003CP align=center\u003E\u003CIMG border=0 alt=