5. Develop a java stand-alone application that connects with the database (Oracle MySQL) and perform t
5. Develop a java stand-alone application that connects with the database (Oracle MySQL) and perform t
Develop a java stand-alone application that connects with the database (Oracle / MySQL)
and perform the CRUD operation on the database tables.
InsertData.java
### Description:
This Java file contains the implementation for database operations.
import java.sql.*;
import java.util.Scanner;
DisplayData.java
### Description:
This Java file contains the implementation for database operations.
import java.sql.*;
while (rs.next()) {
System.out.println(rs.getString("s_id") + " \t " +
rs.getString("s_name") + " \t " + rs.getString("s_address"));
System.out.println("________________________________________");
}
}
updateData.java
### Description:
This Java file contains the implementation for database operations.
import java.sql.*;
import java.util.Scanner;
deleteData.java
### Description:
This Java file contains the implementation for database operations.
import java.sql.*;
import java.util.Scanner;