Hello, I'm using NHibernate 1.0.2 with Oracle 10.
This is my trouble:
I persisted an object with his relationships and then got this object with an method that is validated(I tested in another page, so the mapping and methods are ok).
It returned me the same object I've just persisted(where the entity has just the id of the other entities on his relationship). By the way the log did not generate the sql commands. So it assumed that the object was just cached in the session and it returned the same to me without going to the database.
To solve the problem I had to get the object in another http request to load it with the relationships populated it has to be.
How can I force it to load from the database, with the relation objects completely populated?
Thanks
|