Files

8 lines
583 B
Plaintext

getReference(): SQL statements so far = 0, initialized = false
ref.name (field) -> null; SQL statements now = 0, initialized = false
ref.getName() -> Chen; SQL statements now = 1, initialized = true
SQL> select e1_0.id,e1_0.city,e1_0.zip,e1_0.department_id,e1_0.level,e1_0.name,e1_0.salary from Employee e1_0 where e1_0.id=?
find(missing id) -> null
getReference(missing) -> proxy returned without error: true
first access -> org.hibernate.ObjectNotFoundException: No row with the given identifier exists for entity [lab.hibernate.model.Employee with id '99999']