Skip to content

Commit 083045b

Browse files
committed
Updated demo.txt.
- removed references to Hades - work with AccountRepository first, CustomerRepository second
1 parent 2d5744f commit 083045b

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

spring-data-jpa-showcase/demo.txt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,31 @@
88
2. Issues
99
---------
1010
- Generics, simple queries, pagination (no metadata), is new?, arbitrary queries
11-
- Approach: step by step refactoring -> introduce Hades
11+
- Approach: step by step refactoring -> introduce Spring Data JPA
1212

13-
3. CustomerRepository
14-
---------------------
15-
- add dependency to CustomerServiceImpl
16-
- replace findById, findAll, save
17-
- run test
13+
5. AccountRepository
14+
--------------------
15+
- replace save(…)
16+
- findByCustomer -> show log -> method created from method name
17+
- explain proxy mechanism, method signature possibilities (@Param, return types)
1818

1919
4. Explain general proxy mechanism, SimpleJpaRepository
2020
-------------------------------------------------
21-
- show GenericDao interface
21+
- show JpaRepository interface
2222
- findAll(Pageable pageble)
2323

24-
5. AccountRepository
25-
--------------------
26-
- replace saven(…)
27-
- findByCustomer -> show log -> method created from method name
28-
- explain proxy mechanism, methods signature possibilities (@Param, return types, Pageable, Sort)
29-
- -> replace findByLastname(Pageable pageable) in CustomerService
24+
3. CustomerRepository
25+
---------------------
26+
- add dependency to CustomerServiceImpl
27+
- replace findById, findAll, save
28+
- run test
29+
- explain extended method signature possibilities (Pageable, Sort)
30+
- replace findByLastname(Pageable pageable) in CustomerService
3031

3132
6. First summary
3233
----------------
3334
- implementation got obsolete
3435
- switch to after package
35-
-- alter packages to .after, remove component scan element
3636

3737
7. Custom implementation
3838
------------------------

0 commit comments

Comments
 (0)