Hello
I need to replicate data from a SQL server database to a SQLLite
database use NHibernate + Spring.Net
My code is like this
IList<MyModel> modifiedList = GetModifiedModelList();//get modified
data from sql server
foreach (MyModel model in modifiedList)
{
SdfModelDAO.SaveOrUpdate(model);//then save to sqllite
}
Then the "Two open Sessions exception" occurred when "SaveOrUpdate"
ran
Spring.Data.NHibernate.HibernateSystemException: Illegally attempted
to associate a proxy with two open Sessions
Anyone can help me?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---