Skip to content

Commit 29cf490

Browse files
authored
Update OracleJdbcApplication.java
1 parent 7bcac0c commit 29cf490

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

java/SpringBootApp/src/main/java/com/oracle/springapp/OracleJdbcApplication.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,16 @@ public static void main(String[] args) {
2828

2929
@Override
3030
public void run(String... args) throws Exception {
31+
32+
// Displays 20 table names from ALL_TABLES
3133
employeeService.displayTableNames();
3234
System.out.println("List of employees");
35+
// Displays the list of employees from EMP table
3336
employeeService.displayEmployees();
37+
// Insert a new employee into EMP table
3438
employeeService.insertEmployee(new Employee(7954,"TAYLOR","MANAGER",7839, Date.valueOf("2020-03-20"),5300,0,10));
3539
System.out.println("List of Employees after the update");
40+
// Displays the list of employees after the new employee record is inserted
3641
employeeService.displayEmployees();
3742
}
3843

0 commit comments

Comments
 (0)