随笔 - 6  文章 - 129  trackbacks - 0
<2024年5月>
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

常用链接

留言簿(14)

随笔档案(6)

文章分类(467)

文章档案(423)

相册

收藏夹(18)

JAVA

搜索

  •  

积分与排名

  • 积分 - 816089
  • 排名 - 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 阅读(413) 评论(0)  编辑  收藏 所属分类: eclipse

只有注册用户登录后才能发表评论。


网站导航: