Lets see a simple JDBC example using MS Access.
We are using below mentioned particulars
Create the columns empId and empName in table employee as shown below. Also add few records which we will be fetching through Java code i.e JDBC.
We are using below mentioned particulars
- MS Access 2007
- Java 1.6
Step 1. Create Database using MS Access
Create a New blank database, Name the file EmployeeMgmt.mdb and save it in your desire location. Please see the screen shot below.
Create the columns empId and empName in table employee as shown below. Also add few records which we will be fetching through Java code i.e JDBC.