<?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: Build Your Own Data Access Layer: Executing Custom Queries</title> <atom:link href="http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-executing-custom-queries/feed/" rel="self" type="application/rss+xml" /><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-executing-custom-queries/</link> <description>inquisitive: adjective. given to inquiry, research, or asking questions; eager for knowledge; intellectually curious</description> <lastBuildDate>Wed, 08 Feb 2012 11:42:42 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Gokmen Bulut</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-executing-custom-queries/comment-page-1/#comment-104657</link> <dc:creator>Gokmen Bulut</dc:creator> <pubDate>Fri, 03 Feb 2012 12:28:00 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1530#comment-104657</guid> <description>How can we use stored procedures ? I couldn&#039;t see any information about this issue...</description> <content:encoded><![CDATA[<p>How can we use stored procedures ? I couldn&#8217;t see any information about this issue&#8230;</p> ]]></content:encoded> </item> <item><title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #423</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-executing-custom-queries/comment-page-1/#comment-22411</link> <dc:creator>Reflective Perspective - Chris Alcock &#187; The Morning Brew #423</dc:creator> <pubDate>Tue, 01 Sep 2009 07:42:21 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1530#comment-22411</guid> <description>[...] Build Your Own Data Access Layer: Executing Custom Queries - Davy Brion continues his series of posts on building a custom data access tier from first principles, looking in this part at how to execute custom queries against the database within the framework, and Ayende follows on from Davy&#8217;s post giving the NHibernate perspective on Custom Query execution. In his next part of the series(Bringing It All Together), Davy Brion looks at bringing the whole framework together with a look at the public interface of the DAL, and in the final part, Davy shares his Conclusions on building a custom DAL. [...]</description> <content:encoded><![CDATA[<p>[...] Build Your Own Data Access Layer: Executing Custom Queries &#8211; Davy Brion continues his series of posts on building a custom data access tier from first principles, looking in this part at how to execute custom queries against the database within the framework, and Ayende follows on from Davy&#8217;s post giving the NHibernate perspective on Custom Query execution. In his next part of the series(Bringing It All Together), Davy Brion looks at bringing the whole framework together with a look at the public interface of the DAL, and in the final part, Davy shares his Conclusions on building a custom DAL. [...]</p> ]]></content:encoded> </item> <item><title>By: New and Notable 364 : Sam Gentile's Blog (if (DeveloperTask == Communication &#38;&#38; OS == Windows)</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-executing-custom-queries/comment-page-1/#comment-22390</link> <dc:creator>New and Notable 364 : Sam Gentile's Blog (if (DeveloperTask == Communication &#38;&#38; OS == Windows)</dc:creator> <pubDate>Mon, 31 Aug 2009 15:55:22 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1530#comment-22390</guid> <description>[...] Building Your Own Data Access Layer: Executing Custom Queries [...]</description> <content:encoded><![CDATA[<p>[...] Building Your Own Data Access Layer: Executing Custom Queries [...]</p> ]]></content:encoded> </item> <item><title>By: Bertrand Le Roy</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-executing-custom-queries/comment-page-1/#comment-22385</link> <dc:creator>Bertrand Le Roy</dc:creator> <pubDate>Mon, 31 Aug 2009 05:41:53 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1530#comment-22385</guid> <description>@Davy: I answered on your new post.</description> <content:encoded><![CDATA[<p>@Davy: I answered on your new post.</p> ]]></content:encoded> </item> <item><title>By: There Is No Excuse For Failing Queries In Production &#124; The Inquisitive Coder &#8211; Davy Brion&#8217;s Blog</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-executing-custom-queries/comment-page-1/#comment-22381</link> <dc:creator>There Is No Excuse For Failing Queries In Production &#124; The Inquisitive Coder &#8211; Davy Brion&#8217;s Blog</dc:creator> <pubDate>Sun, 30 Aug 2009 14:53:37 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1530#comment-22381</guid> <description>[...] Build Your Own Data Access Layer: Executing Custom Queries [...]</description> <content:encoded><![CDATA[<p>[...] Build Your Own Data Access Layer: Executing Custom Queries [...]</p> ]]></content:encoded> </item> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-executing-custom-queries/comment-page-1/#comment-22377</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Sun, 30 Aug 2009 08:13:41 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1530#comment-22377</guid> <description>code that causes failing queries should never even make it to your source code repository... you do write tests for queries, no?if you deploy code which causes frequently failing queries, then you have some fundamental problems in the way you create, test and deliver software.</description> <content:encoded><![CDATA[<p>code that causes failing queries should never even make it to your source code repository&#8230; you do write tests for queries, no?</p><p>if you deploy code which causes frequently failing queries, then you have some fundamental problems in the way you create, test and deliver software.</p> ]]></content:encoded> </item> <item><title>By: Bertrand Le Roy</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-executing-custom-queries/comment-page-1/#comment-22376</link> <dc:creator>Bertrand Le Roy</dc:creator> <pubDate>Sun, 30 Aug 2009 05:56:17 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1530#comment-22376</guid> <description>Incorrect code happens. When it happens, you may exhaust your connection pool before that stuff gets collected. I think the creator of a disposable object is responsible for disposing of it no matter what happens, not the garbage collector. So you have basically two correct strategies: handling it yourself (in a fail-safe way) or delegating that responsiblity to the calling code by making yourself disposable.</description> <content:encoded><![CDATA[<p>Incorrect code happens. When it happens, you may exhaust your connection pool before that stuff gets collected. I think the creator of a disposable object is responsible for disposing of it no matter what happens, not the garbage collector. So you have basically two correct strategies: handling it yourself (in a fail-safe way) or delegating that responsiblity to the calling code by making yourself disposable.</p> ]]></content:encoded> </item> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-executing-custom-queries/comment-page-1/#comment-22369</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Sat, 29 Aug 2009 10:03:24 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1530#comment-22369</guid> <description>well, if a query fails the underlying SqlCommand object will eventually be garbage collected so i wouldn&#039;t really worry about that.  Failed queries shouldn&#039;t happen frequently anyway IMO because they typically are the result of incorrect code.</description> <content:encoded><![CDATA[<p>well, if a query fails the underlying SqlCommand object will eventually be garbage collected so i wouldn&#8217;t really worry about that.  Failed queries shouldn&#8217;t happen frequently anyway IMO because they typically are the result of incorrect code.</p> ]]></content:encoded> </item> <item><title>By: Bertrand Le Roy</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-executing-custom-queries/comment-page-1/#comment-22365</link> <dc:creator>Bertrand Le Roy</dc:creator> <pubDate>Fri, 28 Aug 2009 19:36:45 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1530#comment-22365</guid> <description>Would it make sense for the query to implement IDisposable so that you can put it in a using block? I would be a little concerned about the query failing and never getting disposed of. Another complementary idea may be to do some lifetime management from the session so that you can be sure that when the session goes away, all queries open with it do too. Am I making sense?</description> <content:encoded><![CDATA[<p>Would it make sense for the query to implement IDisposable so that you can put it in a using block? I would be a little concerned about the query failing and never getting disposed of. Another complementary idea may be to do some lifetime management from the session so that you can be sure that when the session goes away, all queries open with it do too. Am I making sense?</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 2/13 queries in 0.006 seconds using disk: basic
Object Caching 450/451 objects using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: d18sni7re4ly7f.cloudfront.net

Served from: davybrion.com @ 2012-02-09 03:39:47 -->
