In this article, we will perform Create, Read, Update and Delete operations on a MySQL database using JDBC. We have created Employee table in the database, with the following structure : First, we need to setup connectivity from Java code to the database using JDBC. Refer the following article for the …
Continue reading JDBC CRUD OperationsJDBC
JDBC Connection For creating a JDBC connection to the database, we need to do the following : 1) Depending on the database, determine which driver will be needed. 2) Download the corresponding driver jar file and add it in project libraries. 3) Use the DriverManager class and JDBC url to create …
Continue reading Connecting to Database from Java Application using JDBC