projections: Spring Data JPA interface, record, nested and dynamic projections with the SQL they generate
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5sejRr8s3kapmRY2g
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# Page<EmployeeSummary>, page size 2
|
||||
select e1_0.first_name,e1_0.last_name from employee e1_0 left join department d1_0 on d1_0.id=e1_0.department_id where d1_0.name=? fetch first ? rows only
|
||||
select count(*) from employee e1_0 left join department d1_0 on d1_0.id=e1_0.department_id where d1_0.name=?
|
||||
statements: 2, rows in page: 2, total elements: 4
|
||||
|
||||
# what an interface projection really is at runtime
|
||||
is a java.lang.reflect.Proxy: true
|
||||
is an Employee: false
|
||||
Reference in New Issue
Block a user