轉(zhuǎn):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
內(nèi)容如下:
path=D:\\eclipse-plugins\\sqlexplorer\\eclipse
3.使用插件
eclipse的window--------->Show View ----------->Other----------SQL
Explorer---------Connections
創(chuàng)建一個derby數(shù)據(jù)庫
啟動derby------->啟動ij工具
connect 'jdbc:derby://localhost:1527/db;create=true';
刷新項目,目錄下生成db文件夾
安裝derby JDBC驅(qū)動
Window----->Preferences------->SQL Explorer JDBC
Driver----->add
新增derby的驅(qū)動
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就可以連接上數(shù)據(jù)庫啦
posted on 2010-01-12 09:00
Ke 閱讀(421)
評論(0) 編輯 收藏 所屬分類:
eclipse