<?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: NHibernate and deleting a group of objects</title>
	<atom:link href="http://www.codewrecks.com/blog/index.php/2008/06/19/nhibernate-and-deleting-a-group-of-objects/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codewrecks.com/blog/index.php/2008/06/19/nhibernate-and-deleting-a-group-of-objects/</link>
	<description>Wrecks of code floating in the sea of Internet</description>
	<lastBuildDate>Mon, 06 Sep 2010 12:34:55 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: alkampfer</title>
		<link>http://www.codewrecks.com/blog/index.php/2008/06/19/nhibernate-and-deleting-a-group-of-objects/comment-page-1/#comment-2281</link>
		<dc:creator>alkampfer</dc:creator>
		<pubDate>Fri, 24 Apr 2009 11:55:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.codewrecks.com/blog/index.php/2008/06/19/nhibernate-and-deleting-a-group-of-objects/#comment-2281</guid>
		<description>This is because @@ROWCOUNT is specific of Sql Server, you should use whatever equivalent in oracle to return the number of record affected.

Remember that when you use CreateSqlQuery you are actually losing many of the advantages of an orm, and you become &quot;database dependant&quot;

alk.</description>
		<content:encoded><![CDATA[<p>This is because @@ROWCOUNT is specific of Sql Server, you should use whatever equivalent in oracle to return the number of record affected.</p>
<p>Remember that when you use CreateSqlQuery you are actually losing many of the advantages of an orm, and you become &#8220;database dependant&#8221;</p>
<p>alk.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deianira</title>
		<link>http://www.codewrecks.com/blog/index.php/2008/06/19/nhibernate-and-deleting-a-group-of-objects/comment-page-1/#comment-2280</link>
		<dc:creator>Deianira</dc:creator>
		<pubDate>Fri, 24 Apr 2009 09:47:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.codewrecks.com/blog/index.php/2008/06/19/nhibernate-and-deleting-a-group-of-objects/#comment-2280</guid>
		<description>I tried to execute a query that ends with &quot;select @@ROWCOUNT count;&quot; and I got the following exception: &quot;System.Data.OracleClient.OracleException: ORA-00911&quot;- Invalid character.

I use NHibernate.Dialect.OracleDialect.</description>
		<content:encoded><![CDATA[<p>I tried to execute a query that ends with &#8220;select @@ROWCOUNT count;&#8221; and I got the following exception: &#8220;System.Data.OracleClient.OracleException: ORA-00911&#8243;- Invalid character.</p>
<p>I use NHibernate.Dialect.OracleDialect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ling</title>
		<link>http://www.codewrecks.com/blog/index.php/2008/06/19/nhibernate-and-deleting-a-group-of-objects/comment-page-1/#comment-1934</link>
		<dc:creator>Ling</dc:creator>
		<pubDate>Wed, 24 Dec 2008 08:52:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.codewrecks.com/blog/index.php/2008/06/19/nhibernate-and-deleting-a-group-of-objects/#comment-1934</guid>
		<description>Great...it is just what I need.

ISession.Delete will load the object first, whilst CreateSQLQuery will delete the data directly.

We can use windbg to view the memeory to verify these 2 situations.</description>
		<content:encoded><![CDATA[<p>Great&#8230;it is just what I need.</p>
<p>ISession.Delete will load the object first, whilst CreateSQLQuery will delete the data directly.</p>
<p>We can use windbg to view the memeory to verify these 2 situations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sdf</title>
		<link>http://www.codewrecks.com/blog/index.php/2008/06/19/nhibernate-and-deleting-a-group-of-objects/comment-page-1/#comment-1907</link>
		<dc:creator>sdf</dc:creator>
		<pubDate>Wed, 17 Dec 2008 21:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.codewrecks.com/blog/index.php/2008/06/19/nhibernate-and-deleting-a-group-of-objects/#comment-1907</guid>
		<description>really?</description>
		<content:encoded><![CDATA[<p>really?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
