﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ayende Rahien commented on NHibernate – Cross session operations</title><description>alexz,
  
Search the blog, and read about rhino commons.
</description><link>http://ayende.com/4282/nhibernate-cross-session-operations#comment11</link><guid>http://ayende.com/4282/nhibernate-cross-session-operations#comment11</guid><pubDate>Sun, 15 Nov 2009 13:01:43 GMT</pubDate></item><item><title>alexz commented on NHibernate – Cross session operations</title><description>hi, I want to know how to implement session per view in multilayer project.
  
could you show us same sample?
</description><link>http://ayende.com/4282/nhibernate-cross-session-operations#comment10</link><guid>http://ayende.com/4282/nhibernate-cross-session-operations#comment10</guid><pubDate>Sun, 15 Nov 2009 11:35:36 GMT</pubDate></item><item><title>Ben commented on NHibernate – Cross session operations</title><description>Thanks Oren. You made my day, I owe you a beer! :)
</description><link>http://ayende.com/4282/nhibernate-cross-session-operations#comment9</link><guid>http://ayende.com/4282/nhibernate-cross-session-operations#comment9</guid><pubDate>Mon, 09 Nov 2009 17:46:12 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate – Cross session operations</title><description>Alex,
  
You have to give more details about this if you want me to answer that.
  
And no, Lock wouldn't be useful for you, I think.
  
Please use the NHibernate mailing list for followups
  
[http://groups.google.com/group/nhusers](http://groups.google.com/group/nhusers)  
  
Alternatively, you may choose our commercial support option:
  
[http://nhprof.com/commercialsupport](http://nhprof.com/commercialsupport)  
</description><link>http://ayende.com/4282/nhibernate-cross-session-operations#comment8</link><guid>http://ayende.com/4282/nhibernate-cross-session-operations#comment8</guid><pubDate>Mon, 09 Nov 2009 13:52:30 GMT</pubDate></item><item><title>Alex commented on NHibernate – Cross session operations</title><description>What is the downside of using session.Lock(item, LockMode.None) for associating item with session?
  
  
I ask because I have the folowing scenario:
  
  
I have to delete a few trees of items,when each item may belong to more then one tree. Merging each item into session means I will have to traverse all the trees and replace all instances of old item with new item. Will the session.Lock have unintended side effects?
  
  
</description><link>http://ayende.com/4282/nhibernate-cross-session-operations#comment7</link><guid>http://ayende.com/4282/nhibernate-cross-session-operations#comment7</guid><pubDate>Mon, 09 Nov 2009 13:41:03 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate – Cross session operations</title><description>check the docs :-)
</description><link>http://ayende.com/4282/nhibernate-cross-session-operations#comment6</link><guid>http://ayende.com/4282/nhibernate-cross-session-operations#comment6</guid><pubDate>Mon, 09 Nov 2009 02:53:49 GMT</pubDate></item><item><title>smurf commented on NHibernate – Cross session operations</title><description>is this (merging a detatched entity into a session) the only intended aspect of merge? or are there others as well?
</description><link>http://ayende.com/4282/nhibernate-cross-session-operations#comment5</link><guid>http://ayende.com/4282/nhibernate-cross-session-operations#comment5</guid><pubDate>Mon, 09 Nov 2009 01:12:40 GMT</pubDate></item><item><title>D Kulkarni commented on NHibernate – Cross session operations</title><description>Any chance of getting a rev of LINQ for nhibernate for the 2.1.1 GA? I am getting a bunch of assembly version mismatch errors.
  
  
Thanks.
  
Dinesh
</description><link>http://ayende.com/4282/nhibernate-cross-session-operations#comment4</link><guid>http://ayende.com/4282/nhibernate-cross-session-operations#comment4</guid><pubDate>Sun, 08 Nov 2009 21:38:39 GMT</pubDate></item><item><title>RichB commented on NHibernate – Cross session operations</title><description>NHibernateUtil.Initialize() is a much better way to eager initialize
</description><link>http://ayende.com/4282/nhibernate-cross-session-operations#comment3</link><guid>http://ayende.com/4282/nhibernate-cross-session-operations#comment3</guid><pubDate>Sun, 08 Nov 2009 21:24:54 GMT</pubDate></item><item><title>Scott White commented on NHibernate – Cross session operations</title><description>I use Google Reader extensively.  I found your site no problem.  I wouldn't worry about it.
</description><link>http://ayende.com/4282/nhibernate-cross-session-operations#comment2</link><guid>http://ayende.com/4282/nhibernate-cross-session-operations#comment2</guid><pubDate>Sun, 08 Nov 2009 19:36:48 GMT</pubDate></item><item><title>Steve Bohlen commented on NHibernate – Cross session operations</title><description>This is a great post about a thorny recurring issue that can (sometimes) be hard to explain to people; now I have an easy reference article to point people to when they run up against this!
</description><link>http://ayende.com/4282/nhibernate-cross-session-operations#comment1</link><guid>http://ayende.com/4282/nhibernate-cross-session-operations#comment1</guid><pubDate>Sun, 08 Nov 2009 18:15:28 GMT</pubDate></item></channel></rss>