erdirty.blogg.se

How to use openoffice database with java
How to use openoffice database with java










how to use openoffice database with java

In the case of you wanting to connect to a MySQL database "test" that is installed on your local machine, you would then write the following code:

how to use openoffice database with java

That’s literally all you need to get started. So no matter what Java database library you are going to use in your project, you’ll need to go to the database’s website or a maven repository, fetch the latest JDBC driver and add it to your project. To more advanced features like offering abilities to receive events from the database (Oracle). JDBC drivers do a fair amount of work, from the basics of opening up connections to the database To connect to your database, be it MySQL or H2, you need a driver, a JDBC driver. So make sure not to skip the very next section, if you are unsure about some of the mentioned concepts. Hence, let’s get out the machete and cut through the wood of various options available to you.Īs always, however, it is very important to understand the basics, as every other option builds ON TOP of those basics. It turns out there are various ways to do that in Java-land, one might even say too many.












How to use openoffice database with java