<?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: Populating Entities From Stored Procedures With NHibernate</title> <atom:link href="http://davybrion.com/blog/2008/11/populating-entities-from-stored-procedures-with-nhibernate/feed/" rel="self" type="application/rss+xml" /><link>http://davybrion.com/blog/2008/11/populating-entities-from-stored-procedures-with-nhibernate/</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: Tgarijo</title><link>http://davybrion.com/blog/2008/11/populating-entities-from-stored-procedures-with-nhibernate/comment-page-1/#comment-102156</link> <dc:creator>Tgarijo</dc:creator> <pubDate>Wed, 02 Nov 2011 12:28:00 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=619#comment-102156</guid> <description>Hi David Thank You for your post.I like to know, how to do it with stored procedure has contains joins.
Can you help meThank You </description> <content:encoded><![CDATA[<p>Hi David Thank You for your post.</p><p>I like to know, how to do it with stored procedure has contains joins.<br
/> Can you help me</p><p>Thank You</p> ]]></content:encoded> </item> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2008/11/populating-entities-from-stored-procedures-with-nhibernate/comment-page-1/#comment-5987</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Fri, 05 Dec 2008 06:39:34 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=619#comment-5987</guid> <description>@Martini don&#039;t know if that&#039;s possible...</description> <content:encoded><![CDATA[<p>@Martin</p><p>i don&#8217;t know if that&#8217;s possible&#8230;</p> ]]></content:encoded> </item> <item><title>By: Martin Palatnik</title><link>http://davybrion.com/blog/2008/11/populating-entities-from-stored-procedures-with-nhibernate/comment-page-1/#comment-5974</link> <dc:creator>Martin Palatnik</dc:creator> <pubDate>Thu, 04 Dec 2008 22:56:25 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=619#comment-5974</guid> <description>Hi, very nice your article. Perhaps you can help with a problem i&#039;m having with stored procedures (sp) and nhibernate. I want to map from the returned values of a sp a part to a domain object (already mapped through hbm.xml) and another part to a flag variable. Which is the best way of doing this? without casting objects? As a solution i was trying adding a property value in the doamin object named &quot;status&quot; and trying to map that property in the &lt;return-property... of sql-query that constaints the sp.</description> <content:encoded><![CDATA[<p>Hi, very nice your article. Perhaps you can help with a problem i&#8217;m having with stored procedures (sp) and nhibernate. I want to map from the returned values of a sp a part to a domain object (already mapped through hbm.xml) and another part to a flag variable. Which is the best way of doing this? without casting objects? As a solution i was trying adding a property value in the doamin object named &#8220;status&#8221; and trying to map that property in the &lt;return-property&#8230; of sql-query that constaints the sp.</p> ]]></content:encoded> </item> <item><title>By: David McClelland</title><link>http://davybrion.com/blog/2008/11/populating-entities-from-stored-procedures-with-nhibernate/comment-page-1/#comment-5569</link> <dc:creator>David McClelland</dc:creator> <pubDate>Mon, 24 Nov 2008 16:59:01 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=619#comment-5569</guid> <description>@Robert - sorry for my incomplete comment, the link didn&#039;t post right:http://infozerk.com/averyblog/refactoring-using-object-constructors-in-hql-with-nhibernate/</description> <content:encoded><![CDATA[<p>@Robert &#8211; sorry for my incomplete comment, the link didn&#8217;t post right:</p><p><a
href="http://infozerk.com/averyblog/refactoring-using-object-constructors-in-hql-with-nhibernate/" rel="nofollow">http://infozerk.com/averyblog/refactoring-using-object-constructors-in-hql-with-nhibernate/</a></p> ]]></content:encoded> </item> <item><title>By: David McClelland</title><link>http://davybrion.com/blog/2008/11/populating-entities-from-stored-procedures-with-nhibernate/comment-page-1/#comment-5568</link> <dc:creator>David McClelland</dc:creator> <pubDate>Mon, 24 Nov 2008 16:57:57 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=619#comment-5568</guid> <description>@Robert:For the grid results that you are wanting to display, you might consider using a technique similar to the one James Avery describes here:&lt;a href=&quot;http://infozerk.com/averyblog/refactoring-using-object-constructors-in-hql-with-nhibernate/&quot; title=&quot;Using object constructors in HQL with NHibernate&quot; rel=&quot;nofollow&quot;&gt;</description> <content:encoded><![CDATA[<p>@Robert:</p><p>For the grid results that you are wanting to display, you might consider using a technique similar to the one James Avery describes here:</p><p><a
href="http://infozerk.com/averyblog/refactoring-using-object-constructors-in-hql-with-nhibernate/" title="Using object constructors in HQL with NHibernate" rel="nofollow"></a></p> ]]></content:encoded> </item> <item><title>By: Dew Drop - November 24, 2008 &#124; Alvin Ashcraft's Morning Dew</title><link>http://davybrion.com/blog/2008/11/populating-entities-from-stored-procedures-with-nhibernate/comment-page-1/#comment-5555</link> <dc:creator>Dew Drop - November 24, 2008 &#124; Alvin Ashcraft's Morning Dew</dc:creator> <pubDate>Mon, 24 Nov 2008 13:09:45 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=619#comment-5555</guid> <description>[...] Populating Entities From Stored Procedures with NHibernate&#160;and Populating Entities with Associations from Stored Procedures with NHibernate (Davy Brion) [...]</description> <content:encoded><![CDATA[<p>[...] Populating Entities From Stored Procedures with NHibernate&#160;and Populating Entities with Associations from Stored Procedures with NHibernate (Davy Brion) [...]</p> ]]></content:encoded> </item> <item><title>By: Dew Drop - November 24, 2008 &#124; Alvin Ashcraft's Morning Dew</title><link>http://davybrion.com/blog/2008/11/populating-entities-from-stored-procedures-with-nhibernate/comment-page-1/#comment-5556</link> <dc:creator>Dew Drop - November 24, 2008 &#124; Alvin Ashcraft's Morning Dew</dc:creator> <pubDate>Mon, 24 Nov 2008 13:09:45 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=619#comment-5556</guid> <description>[...] Populating Entities From Stored Procedures with NHibernate&#160;and Populating Entities with Associations from Stored Procedures with NHibernate (Davy Brion) [...]</description> <content:encoded><![CDATA[<p>[...] Populating Entities From Stored Procedures with NHibernate&#160;and Populating Entities with Associations from Stored Procedures with NHibernate (Davy Brion) [...]</p> ]]></content:encoded> </item> <item><title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #229</title><link>http://davybrion.com/blog/2008/11/populating-entities-from-stored-procedures-with-nhibernate/comment-page-1/#comment-5547</link> <dc:creator>Reflective Perspective - Chris Alcock &#187; The Morning Brew #229</dc:creator> <pubDate>Mon, 24 Nov 2008 10:15:41 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=619#comment-5547</guid> <description>[...] Populating Entities From Stored Procedures With NHibernate - Davy Brion looks at using Stored Procedures with NHibernate to populate your entities, and then follows upwith a look at filling the associated entities from the same data set returned from the SP. [...]</description> <content:encoded><![CDATA[<p>[...] Populating Entities From Stored Procedures With NHibernate &#8211; Davy Brion looks at using Stored Procedures with NHibernate to populate your entities, and then follows upwith a look at filling the associated entities from the same data set returned from the SP. [...]</p> ]]></content:encoded> </item> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2008/11/populating-entities-from-stored-procedures-with-nhibernate/comment-page-1/#comment-5510</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Sun, 23 Nov 2008 20:07:37 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=619#comment-5510</guid> <description>If the data in the grid doesn&#039;t need to come from a stored procedure, you can just retrieve the data with a Criteria that joins on the Category and Supplier tables.Or you could simply map an entity to a View as well, we do that quite often at work... we do set the mutable and lazy attributes of the entity to &#039;false&#039; in that case.If the data in the grid needs to come from a stored procedure, you&#039;re probably better off mapping a specific entity to the result of the stored procedure</description> <content:encoded><![CDATA[<p>If the data in the grid doesn&#8217;t need to come from a stored procedure, you can just retrieve the data with a Criteria that joins on the Category and Supplier tables.</p><p>Or you could simply map an entity to a View as well, we do that quite often at work&#8230; we do set the mutable and lazy attributes of the entity to &#8216;false&#8217; in that case.</p><p>If the data in the grid needs to come from a stored procedure, you&#8217;re probably better off mapping a specific entity to the result of the stored procedure</p> ]]></content:encoded> </item> <item><title>By: Robert Vukovic</title><link>http://davybrion.com/blog/2008/11/populating-entities-from-stored-procedures-with-nhibernate/comment-page-1/#comment-5509</link> <dc:creator>Robert Vukovic</dc:creator> <pubDate>Sun, 23 Nov 2008 20:04:14 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=619#comment-5509</guid> <description>Lets suppose I wanted to show some grid with Supplier name and Category name. How will the mapping look if I wanted to eagerly load all (or some) Supplier and Category fields ? Is it possible ?</description> <content:encoded><![CDATA[<p>Lets suppose I wanted to show some grid with Supplier name and Category name. How will the mapping look if I wanted to eagerly load all (or some) Supplier and Category fields ? Is it possible ?</p> ]]></content:encoded> </item> <item><title>By: Populating Entities From Stored Procedures With NHibernate - NHibernate blog - NHibernate Forge</title><link>http://davybrion.com/blog/2008/11/populating-entities-from-stored-procedures-with-nhibernate/comment-page-1/#comment-5499</link> <dc:creator>Populating Entities From Stored Procedures With NHibernate - NHibernate blog - NHibernate Forge</dc:creator> <pubDate>Sun, 23 Nov 2008 17:39:26 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=619#comment-5499</guid> <description>[...] Note: this was orginally posted on my own blog. [...]</description> <content:encoded><![CDATA[<p>[...] Note: this was orginally posted on my own blog. [...]</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 3/15 queries in 0.007 seconds using disk: basic
Object Caching 484/485 objects using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: d18sni7re4ly7f.cloudfront.net

Served from: davybrion.com @ 2012-02-09 03:42:55 -->
