Skip to content

Commit

Permalink
Made changes to readme and student service class
Browse files Browse the repository at this point in the history
Made changes to readme.md and studentservice class description
  • Loading branch information
peterrsongg committed May 16, 2022
1 parent 87bfc6d commit 191e433
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions java/spring_jdbc_example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ retrieve the data from the Autonomous Database.

# Main Components of the Code

* TestController.java: Has one get mapping that uses StudentService to retrieve all the Students
* Student.java: Models the Student class to the Students table in the database
* StudentRepository.java: Extends JpaRepository to utilize built-in queries
* StudentService.java: Implements one method that retrieves all students
* application.properties: provides database connection information along with UCP
* TestController.java: TestController.java is the RestController that maps the public endpoints to the students table. In this case, it maps '/students' to a list of all students.
* Student.java: Models the Student class to the Students table in the database.
* StudentRepository.java: Extends JpaRepository to utilize built-in queries.
* StudentService.java: Implements one method that retrieves all students.
* application.properties: Provides database connection information along with UCP connection information

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

/*
DESCRIPTION
The code sample maps uses the jpaRepository to return
all students
The StudentService class uses a StudentRepository object to retrieve a
list of all students
Peter Song 05/11/2022 - Creation
*/
Expand Down

0 comments on commit 191e433

Please sign in to comment.