隨筆 - 6  文章 - 129  trackbacks - 0
          <2025年6月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

          常用鏈接

          留言簿(14)

          隨筆檔案(6)

          文章分類(467)

          文章檔案(423)

          相冊

          收藏夾(18)

          JAVA

          搜索

          •  

          積分與排名

          • 積分 - 827240
          • 排名 - 49

          最新評論

          閱讀排行榜

          評論排行榜

          轉:http://hi.baidu.com/luohuazju/blog/item/3b68f609481d02c73bc7631b.html

          1.得到插件
          首頁
          http://eclipsesql.sourceforge.net

          下載得到文件
          sqlexplorer_plugin-3.5.0.RC7.zip

          2.安裝插件
          采用linck的方式安裝eclipse插件
          解開壓縮文件,得到features和plugins兩個文件夾
          新增eclipse文件夾,放置在如下位置(我本機是這樣)
          D:\eclipse-plugins\sqlexplorer\eclipse
          拷貝上面兩個插件到上面位置

          在eclipse的安裝文件夾上新建目錄links
          D:\eclipse-rcp\links
          新增文本文件
          sqlexplorer_plugin.link
          內容如下:
          path=D:\\eclipse-plugins\\sqlexplorer\\eclipse

          3.使用插件
          eclipse的window--------->Show View ----------->Other----------SQL Explorer---------Connections

          創建一個derby數據庫
          啟動derby------->啟動ij工具
          connect 'jdbc:derby://localhost:1527/db;create=true';
          刷新項目,目錄下生成db文件夾

          安裝derby JDBC驅動
          Window----->Preferences------->SQL Explorer JDBC Driver----->add
          新增derby的驅動
          Name:                    apache derby
          URL:                      jdbc:derby://localhost:1527/db
          Driver Class Name:    org.apache.derby.jdbc.ClientDriver

          點擊Extra Class Path-----> New
          選擇我們安裝derby時的三個jar包
          D:\eclipse-plugins\derby\eclipse\plugins\org.apache.derby.core_10.4.2路徑下 面的
          derby.jar
          derbyclient.jar
          derbynet.jar

          回到sql explorer的connections頁面
          新增連接
          輸入用戶名和密碼,選擇apache derby就可以連接上數據庫啦



          posted on 2010-01-12 09:00 Ke 閱讀(424) 評論(0)  編輯  收藏 所屬分類: eclipse
          主站蜘蛛池模板: 广河县| 修文县| 忻州市| 韩城市| 玛多县| 广昌县| 舒兰市| 宜州市| 饶阳县| 武汉市| 娱乐| 朝阳市| 澜沧| 隆尧县| 五峰| 西安市| 伊吾县| 乃东县| 翁源县| 建德市| 喀什市| 镇平县| 丰镇市| 宽城| 中山市| 广东省| 建昌县| 巴中市| 沁水县| 茂名市| 夏河县| 石台县| 张家界市| 大化| 平原县| 永州市| 晋宁县| 息烽县| 开阳县| 灵台县| 万山特区|