Adding a JDBC driver to JBuilder

本文介绍了在JBuilder中添加数据库驱动的详细步骤。包括打开Enterprise Setup对话框,点击Database Drivers标签,添加新驱动、创建新库文件,设置文件名称和位置,选择驱动文件,最后保存配置并重启JBuilder使更改生效。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1.Open JBuilder and choose the Tools|Enterprise Setup.

2.Click the Database Drivers tab in the Enterprise Setup dialog box.

 The Database Drivers tab display .config files for all the currentlydefined database driver.

3.Click Add to add a new driver,then New to create a new library file for the driver. The library file is used to add the driver to the required libraries list for projects.

NOTE:

You can also create a new library under Tools|Configure Libraries,but since you would then have to use Enterprise Setup to derive the .config file,it is simpler to do it all here.

4.Type a name and select a location for the new file in the Create New Library dialog box.

5.Click Add,and browse to the location of the driver. You cna select the directory containing the driver and all it's support files, or you can select just the archive file for the driver. Either will work. JBuilder will extract the information it needs.

6.Click OK to close the file browser. This displays the new library at the bottom of the library list and selects it.

7.Click OK. JBuilder creates a new .library file in the JBuilder /lib directory with the name you specified (for example, InterClient.library). It also returns you to the Database Drivers page which displays the name of the corresponding .config file in the list which will be derived from the library file (for example, InterClient.config).

8.Select the new .config file in the database driver list and click OK. This places the .config file in the JBuilder /lib/ext directory.

9.Close and restart JBuilder so the changes to the database drivers will take effect, and the new driver will be put on the JBuilder classpath

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值