Skip to content

Commit 6c48cb9

Browse files
authored
Update Readme.md
1 parent 42c7006 commit 6c48cb9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

java/SpringBootApp/Readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Spring Boot Sample
2-
This is a SpringBoot sample using Oracle JDBC and UCP to connect to Autonomous Database. The sample creates a SpringBoot application and performs different JDBC operations.
2+
This is a SpringBoot sample that uses Oracle JDBC and UCP to connect to Autonomous Database (ATP/ADW). The sample creates a SpringBoot application and performs different JDBC operations.
33

44
* ALL_TABLES: Displays 20 records from the ALL_TABLES table.
55
* EMP: Displays the records from EMP table. You can create EMP and other tables and populate the data using the script [JDBCSampleData.sql](https://github.com/oracle/oracle-db-examples/blob/master/java/jdbc/BasicSamples/JDBCSampleData.sql)
66
* Insert into EMP: Insert a new record into the table. The new row will not be deleted. It displays all the records of EMP table and you can see the new row that was created.
77

88
# Main Components of the code
99
* **OracleJdbcAppication.java**: This is the main class where we have the methods to perform some database operations.
10-
* **EmployeeServiceImpl.java**: This is the bean where the business logic is present. It implements the interface EmployeeServe.java.
11-
* **Employee.java and AllTables.java**: These are the DAO classes represents the Model of the application.
10+
* **EmployeeServiceImpl.java**: This is the bean where the business logic is present. It implements the interface EmployeeService.java.
11+
* **Employee.java and AllTables.java**: These are the DAO classes that represent 'Model' of the application.
1212
* **EmployeeDAOImpl.java and AllTablesDAOImpl.java**: These are the Data Access Object classes to access the data from the database.
1313
* **pom.xml**: Maven build script with all the necessary dependencies for the application to run.
14-
* **application.properties**: Contains all the database specific details such as database URL, database username, database password etc.,
14+
* **application.properties**: Contains all the database specific details such as database URL, database username, database password etc., This also contains the properties to UCP as a datasource. Make sure to have Oracle JDBC 21c driver in the class path to use UCP as a datasource.
1515

1616
## Directory Structure
1717
```

0 commit comments

Comments
 (0)