Hi,

Some comments below.

On 3/6/23 3:19, Arbol One wrote:

>
> I assumed that by adding the 'sqlite-jdbc-3.30.1.jar' as a [Services tab]: Databases > Driver would make the driver global and that my code would run just as if I had added it to the [Project tab]: MyApp > Libraries sub directory, but that is not the case.

Of course not. Projects (Ant Projects, Maven Projects, Gradle Projects etc.) have to specify their dependencies explicitly, so you can pack your project (or upload it to a git repository) and send it to a friend, or share with other people.

The "Services/Databases/Driver" area is just for your computer, and has nothing to do with projects. It's just an IDE tool that you can use to connect to a database and quickly run a query, for instance.

In your case, you can right click on "Services/Databases/Drivers/SQLite-JDBC" and select "Connect Using...". This will allow you to open a connection to a sqlite database on your computer and run/test SQL queries in a project-independent window (you can use the query tool even if you have no project open). This is an aid for the development of your project, so you can test SQL queries quickly, but cannot be shared with other people.

Cheers,
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to