Category Archives: Java

JDBC – Java Database Connectivity @ 1

JDBC is an API for Java and it defines how your Java application make connection to the database in order to query or update the data.

In the following example, it shows you how to get a value from the database using the JDBC API. To make use of the API, you have to download the JDBC driver of your database. Postgresql Database is used in this example. so the postgresql-8.4-701.jdbc3.jar is added to the eclipse project.
Continue reading JDBC – Java Database Connectivity @ 1