Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cfo2K4u4rF18QsPXPFnytf
7 lines
441 B
Plaintext
7 lines
441 B
Plaintext
'from EagerEmployee' with the default @ManyToOne: 4 SQL statements for 9 employees in 3 departments
|
|
SQL> select ee1_0.id,ee1_0.department_id,ee1_0.name from EagerEmployee ee1_0
|
|
SQL> select d1_0.id,d1_0.name from Department d1_0 where d1_0.id=?
|
|
SQL> select d1_0.id,d1_0.name from Department d1_0 where d1_0.id=?
|
|
SQL> select d1_0.id,d1_0.name from Department d1_0 where d1_0.id=?
|
|
'from Employee' with @ManyToOne(fetch = LAZY): 1 SQL statement
|