I try to run a Criteria/HQL on a collection of objecs which is
attached to session through it's aggregate root, but not yet persisted
to DB. I'm using the same session to attach the objects and run the
query. It fails with what seems to be an SQL server error with the
INSERT statement. Can I do this at all or am I trying to work agains
nHibernates design and am I better off doing a LINQ query before the
agg.root is attached to the session? That means I would need to
maintain LINQ query for inmemory object graph and a separate to query
the DB through nHibernate.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to