spring-petclinic/src
YiXuan Ding 668629d5bd refactor OwnerRepository:
-<replace>: use `JpaRepository` to replace `Repository` in `OwnerRepository` class.
-<remove1>: remove `save()` method. JpaRepository provides it by default.
-<remove2>: remove `@Query` because in `Owner` class, the `@OneToMany` annotiation achieved `fetch` in query.
-<refactor1>: use `Optional<Owner>` to recieve the result from `findById()`, and if is null, throw `IllegalArugmentExpection`.
-<refactor2>: achieve the assert to judge return value in tests.
-<add>: add name to `@author` tag.
2024-11-10 09:14:42 +00:00
..
checkstyle Make maven and gradle share checkstyle configuration 2024-02-14 14:06:03 +00:00
main refactor OwnerRepository: 2024-11-10 09:14:42 +00:00
test refactor OwnerRepository: 2024-11-10 09:14:42 +00:00