Adding a JDBC Driver: New Connection Wizard and Add Driver

Use to specify an appropriate JDBC driver for this database when you connect to a database from within the IDE.

Element Description

Driver

Enter the user name for the database.

Driver File(s)

Enter the password for the database.

Driver Class

(in the New JDBC Driver dialog box). After you choose a valid archive file, Driver Class and Name should be filled in by the IDE.

Click Find if Driver Class is empty or incorrect.


The IDE will search the archive files that you selected in the previous step and find all classes that implement the JDBC API Driver interface (java.sql.Driver). Driver Class lists the classes that the IDE finds. Use the list to select the driver class that you need.

Notes:


Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.