<?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: Using SQL Functions in Criteria Restrictions</title>
	<atom:link href="http://davybrion.com/blog/2009/04/using-sql-functions-in-criteria-restrictions/feed/" rel="self" type="application/rss+xml" />
	<link>http://davybrion.com/blog/2009/04/using-sql-functions-in-criteria-restrictions/</link>
	<description>Trying to walk that thin line between intelligence and ignorance</description>
	<lastBuildDate>Thu, 29 Jul 2010 21:01:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Davy Brion</title>
		<link>http://davybrion.com/blog/2009/04/using-sql-functions-in-criteria-restrictions/comment-page-1/#comment-14378</link>
		<dc:creator>Davy Brion</dc:creator>
		<pubDate>Tue, 05 May 2009 09:08:35 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1348#comment-14378</guid>
		<description>there are some functions that are registered per dialect that support multiple parameters though the way to use them with the Criteria API is probably a bit different... haven&#039;t tried those yet :)</description>
		<content:encoded><![CDATA[<p>there are some functions that are registered per dialect that support multiple parameters though the way to use them with the Criteria API is probably a bit different&#8230; haven&#8217;t tried those yet <img src='http://davybrion.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pho</title>
		<link>http://davybrion.com/blog/2009/04/using-sql-functions-in-criteria-restrictions/comment-page-1/#comment-14376</link>
		<dc:creator>pho</dc:creator>
		<pubDate>Tue, 05 May 2009 08:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1348#comment-14376</guid>
		<description>what about functions that need additional parameters, such as DATEPART or SUBSTRING? are those possible?</description>
		<content:encoded><![CDATA[<p>what about functions that need additional parameters, such as DATEPART or SUBSTRING? are those possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Davy Brion</title>
		<link>http://davybrion.com/blog/2009/04/using-sql-functions-in-criteria-restrictions/comment-page-1/#comment-14317</link>
		<dc:creator>Davy Brion</dc:creator>
		<pubDate>Mon, 04 May 2009 15:08:36 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1348#comment-14317</guid>
		<description>it&#039;s not entirely db-specific, because these functions are registered per dialect and then map to their DB-specific implementation

if you use a function that&#039;s only supported by one (or a couple of) dialect, then yes, you lose some db portability.

you can find the supported functions, and the db-specific implementation they map to, in the constructor of each dialect</description>
		<content:encoded><![CDATA[<p>it&#8217;s not entirely db-specific, because these functions are registered per dialect and then map to their DB-specific implementation</p>
<p>if you use a function that&#8217;s only supported by one (or a couple of) dialect, then yes, you lose some db portability.</p>
<p>you can find the supported functions, and the db-specific implementation they map to, in the constructor of each dialect</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marek</title>
		<link>http://davybrion.com/blog/2009/04/using-sql-functions-in-criteria-restrictions/comment-page-1/#comment-14316</link>
		<dc:creator>marek</dc:creator>
		<pubDate>Mon, 04 May 2009 15:05:22 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1348#comment-14316</guid>
		<description>Hi Davy,

what if the db doesn&#039;t support the &#039;year&#039; function? 
Doesn&#039;t your code become db-specific when you use this kind of syntax?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Davy,</p>
<p>what if the db doesn&#8217;t support the &#8216;year&#8217; function?<br />
Doesn&#8217;t your code become db-specific when you use this kind of syntax?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #339</title>
		<link>http://davybrion.com/blog/2009/04/using-sql-functions-in-criteria-restrictions/comment-page-1/#comment-13928</link>
		<dc:creator>Reflective Perspective - Chris Alcock &#187; The Morning Brew #339</dc:creator>
		<pubDate>Fri, 01 May 2009 06:36:22 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1348#comment-13928</guid>
		<description>[...] Using SQL Functions in Criteria Restrictions - Davy Brion shows how despite the slightly unfriendly syntax it is possible to build criteria based queries in NHibernate that use the the built in functions of the database. [...]</description>
		<content:encoded><![CDATA[<p>[...] Using SQL Functions in Criteria Restrictions &#8211; Davy Brion shows how despite the slightly unfriendly syntax it is possible to build criteria based queries in NHibernate that use the the built in functions of the database. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: den Ben</title>
		<link>http://davybrion.com/blog/2009/04/using-sql-functions-in-criteria-restrictions/comment-page-1/#comment-13841</link>
		<dc:creator>den Ben</dc:creator>
		<pubDate>Thu, 30 Apr 2009 13:42:26 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1348#comment-13841</guid>
		<description>get off my lawn you 2!!</description>
		<content:encoded><![CDATA[<p>get off my lawn you 2!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Davy Brion</title>
		<link>http://davybrion.com/blog/2009/04/using-sql-functions-in-criteria-restrictions/comment-page-1/#comment-13833</link>
		<dc:creator>Davy Brion</dc:creator>
		<pubDate>Thu, 30 Apr 2009 12:49:08 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1348#comment-13833</guid>
		<description>i used to think so ;)</description>
		<content:encoded><![CDATA[<p>i used to think so <img src='http://davybrion.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Koen</title>
		<link>http://davybrion.com/blog/2009/04/using-sql-functions-in-criteria-restrictions/comment-page-1/#comment-13832</link>
		<dc:creator>Koen</dc:creator>
		<pubDate>Thu, 30 Apr 2009 12:46:22 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1348#comment-13832</guid>
		<description>1981 was a good year...</description>
		<content:encoded><![CDATA[<p>1981 was a good year&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
