<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Bulk Data Operations With NHibernate&#8217;s Stateless Sessions</title>
	<atom:link href="http://davybrion.com/blog/2008/10/bulk-data-operations-with-nhibernates-stateless-sessions/feed/" rel="self" type="application/rss+xml" />
	<link>http://davybrion.com/blog/2008/10/bulk-data-operations-with-nhibernates-stateless-sessions/</link>
	<description>Trying to walk that thin line between intelligence and ignorance</description>
	<lastBuildDate>Wed, 17 Mar 2010 18:22:17 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Robert</title>
		<link>http://davybrion.com/blog/2008/10/bulk-data-operations-with-nhibernates-stateless-sessions/comment-page-1/#comment-32310</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Tue, 16 Mar 2010 14:04:02 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=543#comment-32310</guid>
		<description>Something I noticed when using the stateless session is that dependent objects get not cascade as they do using the &quot;normal&quot; session even though cascade=&quot;all&quot; is set. To overcome this problem you need to loop through the dependent objects yourself, which is not a biggy. Just add the additional loops to your repository.

This is from the documentation:
&quot;A stateless session does not implement a first-level cache nor interact with any second-level cache, nor does it implement transactional write-behind or automatic dirty checking, nor do operations cascade to associated instances. Collections are ignored by a stateless session. Operations performed via a stateless session bypass Hibernate&#039;s event model and interceptors. Stateless sessions are vulnerable to data aliasing effects, due to the lack of a first-level cache.&quot;</description>
		<content:encoded><![CDATA[<p>Something I noticed when using the stateless session is that dependent objects get not cascade as they do using the &#8220;normal&#8221; session even though cascade=&#8221;all&#8221; is set. To overcome this problem you need to loop through the dependent objects yourself, which is not a biggy. Just add the additional loops to your repository.</p>
<p>This is from the documentation:<br />
&#8220;A stateless session does not implement a first-level cache nor interact with any second-level cache, nor does it implement transactional write-behind or automatic dirty checking, nor do operations cascade to associated instances. Collections are ignored by a stateless session. Operations performed via a stateless session bypass Hibernate&#8217;s event model and interceptors. Stateless sessions are vulnerable to data aliasing effects, due to the lack of a first-level cache.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Davy Brion</title>
		<link>http://davybrion.com/blog/2008/10/bulk-data-operations-with-nhibernates-stateless-sessions/comment-page-1/#comment-4976</link>
		<dc:creator>Davy Brion</dc:creator>
		<pubDate>Sat, 15 Nov 2008 12:19:13 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=543#comment-4976</guid>
		<description>@Andrzej

I use NHibernate 2.0.x but i do use it on SQL Server... The last time i used it on Oracle was about a year ago, with NHibernate 1.2. But i actually think most of the batching functionality of NHibernate simply doesn&#039;t work with Oracle, not sure though...</description>
		<content:encoded><![CDATA[<p>@Andrzej</p>
<p>I use NHibernate 2.0.x but i do use it on SQL Server&#8230; The last time i used it on Oracle was about a year ago, with NHibernate 1.2. But i actually think most of the batching functionality of NHibernate simply doesn&#8217;t work with Oracle, not sure though&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrzej</title>
		<link>http://davybrion.com/blog/2008/10/bulk-data-operations-with-nhibernates-stateless-sessions/comment-page-1/#comment-4954</link>
		<dc:creator>Andrzej</dc:creator>
		<pubDate>Fri, 14 Nov 2008 16:59:54 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=543#comment-4954</guid>
		<description>Hi Davy,
I am investigating NH batch operations on Oracle and would like to speed it up compared to ODP.NET, but when I looked at NH 2.0 sources I seems like when stateless session is used, batching has no effect, inserts are still done one by one and in my case it performs just like normal session with no batching.
Which NHibernate version did you use and which database you were working on?
Regards,
Andrzej</description>
		<content:encoded><![CDATA[<p>Hi Davy,<br />
I am investigating NH batch operations on Oracle and would like to speed it up compared to ODP.NET, but when I looked at NH 2.0 sources I seems like when stateless session is used, batching has no effect, inserts are still done one by one and in my case it performs just like normal session with no batching.<br />
Which NHibernate version did you use and which database you were working on?<br />
Regards,<br />
Andrzej</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #213</title>
		<link>http://davybrion.com/blog/2008/10/bulk-data-operations-with-nhibernates-stateless-sessions/comment-page-1/#comment-4453</link>
		<dc:creator>Reflective Perspective - Chris Alcock &#187; The Morning Brew #213</dc:creator>
		<pubDate>Fri, 31 Oct 2008 08:32:57 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=543#comment-4453</guid>
		<description>[...] Bulk Data Operations With NHibernate’s Stateless Sessions - Davy Brion looks at how Stateless Sessions in NHibernate afford memory use benefits when performing bulk data operations. [...]</description>
		<content:encoded><![CDATA[<p>[...] Bulk Data Operations With NHibernate’s Stateless Sessions &#8211; Davy Brion looks at how Stateless Sessions in NHibernate afford memory use benefits when performing bulk data operations. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bulk Data Operations With NHibernate's Stateless Sessions - NHibernate blog - NHibernate Forge</title>
		<link>http://davybrion.com/blog/2008/10/bulk-data-operations-with-nhibernates-stateless-sessions/comment-page-1/#comment-4439</link>
		<dc:creator>Bulk Data Operations With NHibernate's Stateless Sessions - NHibernate blog - NHibernate Forge</dc:creator>
		<pubDate>Thu, 30 Oct 2008 19:32:21 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=543#comment-4439</guid>
		<description>[...] Note: this was originally posted on my own blog [...]</description>
		<content:encoded><![CDATA[<p>[...] Note: this was originally posted on my own blog [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
