<?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: Session Level Cache</title> <atom:link href="http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-session-level-cache/feed/" rel="self" type="application/rss+xml" /><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-session-level-cache/</link> <description>inquisitive: adjective. given to inquiry, research, or asking questions; eager for knowledge; intellectually curious</description> <lastBuildDate>Sun, 20 May 2012 21:55:00 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-session-level-cache/comment-page-1/#comment-22380</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Sun, 30 Aug 2009 12:18:24 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1526#comment-22380</guid> <description>@RaoulThere is only one reason, and that is that i didn&#039;t want entity classes to have to implement an interface or inherit from a base class to be able to use a strongly typed Id property. I use reflection to get or set properties, and when getting a value it is always retrieved as object. I just thought it would be easier to continue using object for identifier values instead of casting it to an int/long every time i retrieved it.</description> <content:encoded><![CDATA[<p>@Raoul</p><p>There is only one reason, and that is that i didn&#8217;t want entity classes to have to implement an interface or inherit from a base class to be able to use a strongly typed Id property. I use reflection to get or set properties, and when getting a value it is always retrieved as object. I just thought it would be easier to continue using object for identifier values instead of casting it to an int/long every time i retrieved it.</p> ]]></content:encoded> </item> <item><title>By: Raoul Millais</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-session-level-cache/comment-page-1/#comment-22379</link> <dc:creator>Raoul Millais</dc:creator> <pubDate>Sun, 30 Aug 2009 11:00:35 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1526#comment-22379</guid> <description>Firstly, thank you for an incredibly interesting blog post series.  Given that you stated in the limitations that your ORM would only work with SQL Server IDENTITY generated primary keys, I was wondering what the rationale behind loosely typing the id everywhere as an object rather than using int/long.  Is this to ease implementing alternative primary key strategies in the future?  If so, surely you would need to make widespread changes to facilitate this anyway and YAGNI?</description> <content:encoded><![CDATA[<p>Firstly, thank you for an incredibly interesting blog post series.  Given that you stated in the limitations that your ORM would only work with SQL Server IDENTITY generated primary keys, I was wondering what the rationale behind loosely typing the id everywhere as an object rather than using int/long.  Is this to ease implementing alternative primary key strategies in the future?  If so, surely you would need to make widespread changes to facilitate this anyway and YAGNI?</p> ]]></content:encoded> </item> <item><title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #421</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-session-level-cache/comment-page-1/#comment-22350</link> <dc:creator>Reflective Perspective - Chris Alcock &#187; The Morning Brew #421</dc:creator> <pubDate>Thu, 27 Aug 2009 07:36:00 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1526#comment-22350</guid> <description>[...] Build Your Own Data Access Layer: Session Level Cache - Davy Brion presses on with his series on building your own DAL / ORM with a look at session level caching using the identity map pattern [...]</description> <content:encoded><![CDATA[<p>[...] Build Your Own Data Access Layer: Session Level Cache &#8211; Davy Brion presses on with his series on building your own DAL / ORM with a look at session level caching using the identity map pattern [...]</p> ]]></content:encoded> </item> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-session-level-cache/comment-page-1/#comment-22349</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Thu, 27 Aug 2009 05:05:28 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1526#comment-22349</guid> <description>@Joshwhat exactly do you mean with flushing the cache? If you mean flushing changes made to cached objects to the database, then no... that won&#039;t be in ityou do have the ability to clear the cache entirely or parts of it thoughbut keep in mind that this is a _Session_ level cache... sessions are supposed to be pretty short-lived so the SessionLevelCache shouldn&#039;t even get the chance to become a memory issue.</description> <content:encoded><![CDATA[<p>@Josh</p><p>what exactly do you mean with flushing the cache? If you mean flushing changes made to cached objects to the database, then no&#8230; that won&#8217;t be in it</p><p>you do have the ability to clear the cache entirely or parts of it though</p><p>but keep in mind that this is a _Session_ level cache&#8230; sessions are supposed to be pretty short-lived so the SessionLevelCache shouldn&#8217;t even get the chance to become a memory issue.</p> ]]></content:encoded> </item> <item><title>By: flukus</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-session-level-cache/comment-page-1/#comment-22348</link> <dc:creator>flukus</dc:creator> <pubDate>Thu, 27 Aug 2009 04:26:36 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1526#comment-22348</guid> <description>Having written an ORM for my current company I have to say that not having a session cache was the biggest mistake I made. Realizing that your dealing with object graphs instead of relational tables was one of those &#039;Eureka&#039; moments. Unfortuneatly it came to late.The other big mistake was not having lazy loading. Our initial requirements didn&#039;t really need it so that was more of an omission than a mistake.</description> <content:encoded><![CDATA[<p>Having written an ORM for my current company I have to say that not having a session cache was the biggest mistake I made. Realizing that your dealing with object graphs instead of relational tables was one of those &#8216;Eureka&#8217; moments. Unfortuneatly it came to late.</p><p>The other big mistake was not having lazy loading. Our initial requirements didn&#8217;t really need it so that was more of an omission than a mistake.</p> ]]></content:encoded> </item> <item><title>By: New and Notable 363 : 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-session-level-cache/comment-page-1/#comment-22347</link> <dc:creator>New and Notable 363 : Sam Gentile's Blog (if (DeveloperTask == Communication &#38;&#38; OS == Windows)</dc:creator> <pubDate>Wed, 26 Aug 2009 23:36:08 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1526#comment-22347</guid> <description>[...] Build Your Own Data Access Layer: Session Level Cache [...]</description> <content:encoded><![CDATA[<p>[...] Build Your Own Data Access Layer: Session Level Cache [...]</p> ]]></content:encoded> </item> <item><title>By: Josh</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-session-level-cache/comment-page-1/#comment-22346</link> <dc:creator>Josh</dc:creator> <pubDate>Wed, 26 Aug 2009 22:19:11 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1526#comment-22346</guid> <description>Love this series - very insightful.I was wondering if you were going to put in any means to flush the cache? Couldn&#039;t memory become an issue if you don&#039;t?</description> <content:encoded><![CDATA[<p>Love this series &#8211; very insightful.</p><p>I was wondering if you were going to put in any means to flush the cache? Couldn&#8217;t memory become an issue if you don&#8217;t?</p> ]]></content:encoded> </item> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-session-level-cache/comment-page-1/#comment-22343</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Wed, 26 Aug 2009 20:53:21 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1526#comment-22343</guid> <description>nope, sorry... i&#039;m allowed to blog about it but i can&#039;t release the code in a downloadable form</description> <content:encoded><![CDATA[<p>nope, sorry&#8230; i&#8217;m allowed to blog about it but i can&#8217;t release the code in a downloadable form</p> ]]></content:encoded> </item> <item><title>By: VirtualStaticVoid</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-session-level-cache/comment-page-1/#comment-22342</link> <dc:creator>VirtualStaticVoid</dc:creator> <pubDate>Wed, 26 Aug 2009 18:03:25 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1526#comment-22342</guid> <description>It&#039;s particularly interesting following your series as well as &lt;a href=&quot;http://ayende.com/Blog/archive/2009/08/26/a-guide-into-orm-implementation-challenges-hydrating-entities.aspx&quot; rel=&quot;nofollow&quot;&gt;Ayende&#039;s&lt;/a&gt; &quot;shadow&quot; posts, which combined seem to provide a good high-level of the internals of NHibernate.Do you plan to provide the source code as a download at the end of the series?</description> <content:encoded><![CDATA[<p>It&#8217;s particularly interesting following your series as well as <a
href="http://ayende.com/Blog/archive/2009/08/26/a-guide-into-orm-implementation-challenges-hydrating-entities.aspx" rel="nofollow">Ayende&#8217;s</a> &#8220;shadow&#8221; posts, which combined seem to provide a good high-level of the internals of NHibernate.</p><p>Do you plan to provide the source code as a download at the end of the series?</p> ]]></content:encoded> </item> <item><title>By: Kris-I</title><link>http://davybrion.com/blog/2009/08/build-your-own-data-access-layer-session-level-cache/comment-page-1/#comment-22341</link> <dc:creator>Kris-I</dc:creator> <pubDate>Wed, 26 Aug 2009 16:18:56 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1526#comment-22341</guid> <description>Don&#039;t forget to prepare your VISUG presentation :)</description> <content:encoded><![CDATA[<p>Don&#8217;t forget to prepare your VISUG presentation <img
src='http://d18sni7re4ly7f.cloudfront.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></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 using disk: basic
Object Caching 476/551 objects using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: d18sni7re4ly7f.cloudfront.net

Served from: davybrion.com @ 2012-05-22 12:25:12 -->
