Joined: Sun Mar 18, 2007 11:14 am Posts: 3
|
Thanks for reply.
We had problem on read only component.
The problem exists in case that somebody tried to access ORM with null values, in such case Nhibernate tried to fetch data from database and then was flag it for current session for non existents. On second session Nhibernate also try to access it so on every hit on such null value I got hit on database.
I solved this problem with litle change on source SessionImpl for supporting second level cache of null values (ORMs)
I just insert some placeHolder to cache and on second try just fetch and identify that it just placeholder and not cacheedORM.
If somebody interested in same scenario I can post the solution and maybe improve him in such way.
thx
|
|