`
sillycat
  • 浏览: 2492123 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

SQL Explorer插件安装

阅读更多
SQL Explorer插件安装

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就可以连接上数据库啦
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics