How to use SQLServer JDBC driver in JBuilder9

zhaozj2021-02-16  61

How to use SQLServer JDBC driver in JBuilder9

Amender: Huang Kai

E_mail: hk_sz@163.com

Forehead

Today, I'm asked me. "When writing CMP, define a JDBC driver, a lot of selection items are red, can't use ...., will drive Add to the project to the project, such as joining MSSQLSERVER4V65.jar , Still unable to activate the MSSQLSERVER4 option? ". In fact, this is very simple. If this friend is configured in jbuilder9, it should be, but I still record it.

1. Click Tools / Configure Libaraies in the menu bar to pop up the Configure Libaraies window;

2. Click the new ... button below to pop up the New libaray wizard window;

3. Enter SQLJDBCLIB (Custom) in the Name bar, click the Add ... button, select the C: /bea/weblogic700/server/lib/mssqlserver4v65.jar file; click the OK button to complete the configuration.

4. Click Tools / Enterprise Setup in the menu bar to pop up the Enterprise Setup window;

5. Click the Add ... button to pop up the Select One or more Libraries window;

6. Check SQLJDBCLIB (defined in step 3), click the Add ... button, OK button to complete, follow JBuilder9;

7. Check whether it is successful, build an Entity Bean, please refer to the "JBuilder9 Weblogic7 actual combat article", click on the Import Schema from Database item (as for this, please see the previous document), pop up the Database Schema Provider window Everyone chooses Driver: item to see if WebLogic.jdbc.msqlserver4.driver becomes black.

Note: Since I don't actually use it, as for the configuration, I can use it to test itself. Ha ha :)

转载请注明原文地址:https://www.9cbs.com/read-28141.html

New Post(0)