Sorry, I should've been clearer in my initial post. Cascade is already set to none, but the error I see in NHProf is
Unable to determine if State.SalesOrderStateCommitted with assigned identifier 3 is transient or detached; querying the database. Use explicit Save() or Update() in session to prevent this. I think it's because I am constructing the State objects in memory rather than fetching them from the database. It would be difficult for me to fetch these objects from the database using my current architecture so I am keen to find a workaround in 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.
