RE: [Hibernate] Second level cache and mappedBy side of a FK one-to-one

2005-11-20 Thread Gavin King
Subject: [Hibernate] Second level cache and mappedBy side of a FK one-to-one Owner side mappedBy side In this case, the owner side is resolved in cache, and not the mappedBy side (if I load person, employee will be resolved in the 2nd cache, if employee is loaded, person cannot be resolved in the 2nd

[Hibernate] Second level cache and mappedBy side of a FK one-to-one

2005-11-20 Thread Emmanuel Bernard
Owner side mappedBy side In this case, the owner side is resolved in cache, and not the mappedBy side (if I load person, employee will be resolved in the 2nd cache, if employee is loaded, person cannot be resolved in the 2nd level cache) But the mapped by side is actually some kind of 1 elem