<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Chris Tierney</title>
	<atom:link href="http://christierney.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://christierney.com</link>
	<description>ColdFusion, jQuery and other stuff...</description>
	<lastBuildDate>Thu, 17 May 2012 15:59:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='christierney.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Chris Tierney</title>
		<link>http://christierney.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://christierney.com/osd.xml" title="Chris Tierney" />
	<atom:link rel='hub' href='http://christierney.com/?pushpress=hub'/>
		<item>
		<title>Returning Distinct ColdFusion Entities</title>
		<link>http://christierney.com/2012/04/30/returning-distinct-coldfusion-entities/</link>
		<comments>http://christierney.com/2012/04/30/returning-distinct-coldfusion-entities/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 20:03:57 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[hql]]></category>

		<guid isPermaLink="false">http://christierney.com/?p=700</guid>
		<description><![CDATA[Take this code example: Each user can have multiple state licenses, thus what we get back here is an array of array of entities that have duplicated users. Lets take a couple of steps to fix this. 1. Change &#8220;JOIN U.stateLicenses&#8221; to &#8220;JOIN FETCH U.stateLicenses&#8221;. This will give us an array to work with instead [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=700&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Take this code example:</p>
<p><pre class="brush: coldfusion;">
return ORMExecuteQuery(
	'FROM user U
	JOIN U.stateLicenses
	WHERE U.company.id IN (:companyIDs)'
	,
	{
		companyIDs = arguments.companyIDs
	},
	false,
	{ ignorecase = true }
);
</pre></p>
<p>Each user can have multiple state licenses, thus what we get back here is an array of array of entities that have duplicated users.</p>
<p>Lets take a couple of steps to fix this.</p>
<p>1. Change &#8220;JOIN U.stateLicenses&#8221; to &#8220;JOIN FETCH U.stateLicenses&#8221;. This will give us an array to work with instead of an array of an array. It also brings back the licenses right away. I didn&#8217;t investigate why this is though.<br />
2. Add &#8220;SELECT DISTINCT U&#8221; to the beginning of the HQL. This will return distinct user records with an array of licenses. This fixes our duplicate users situation.</p>
<p>The modified working code is:</p>
<p><pre class="brush: coldfusion;">
return ORMExecuteQuery(
	'SELECT DISTINCT U
	FROM user U
	JOIN FETCH U.stateLicenses
	WHERE U.company.id IN (:companyIDs)'
	,
	{
		companyIDs = arguments.companyIDs
	},
	false,
	{ ignorecase = true }
);
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christierney.wordpress.com/700/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christierney.wordpress.com/700/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christierney.wordpress.com/700/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christierney.wordpress.com/700/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christierney.wordpress.com/700/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christierney.wordpress.com/700/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christierney.wordpress.com/700/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christierney.wordpress.com/700/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christierney.wordpress.com/700/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christierney.wordpress.com/700/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christierney.wordpress.com/700/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christierney.wordpress.com/700/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christierney.wordpress.com/700/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christierney.wordpress.com/700/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=700&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christierney.com/2012/04/30/returning-distinct-coldfusion-entities/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b932c899a85440dcc270e4637c02b64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christierney</media:title>
		</media:content>
	</item>
		<item>
		<title>FW/1 ColdSpring Services That Rely On The Prior</title>
		<link>http://christierney.com/2012/03/13/fw1-coldspring-services-that-rely-on-the-prior/</link>
		<comments>http://christierney.com/2012/03/13/fw1-coldspring-services-that-rely-on-the-prior/#comments</comments>
		<pubDate>Tue, 13 Mar 2012 21:33:25 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://christierney.com/?p=691</guid>
		<description><![CDATA[In FW/1 you have the variables.fw.service method to work with in your controllers. This method will run your service&#8217;s method and return the results to a key inside the RC scope. Keep in mind, however, these service calls are queued up and not run until the view is called. Why this is done I have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=691&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In FW/1 you have the variables.fw.service method to work with in your controllers. This method will run your service&#8217;s method and return the results to a key inside the RC scope. Keep in mind, however, these service calls are queued up and not run until the view is called. Why this is done I have no idea, but I&#8217;m sure there&#8217;s a reason.</p>
<p>Because they are queued, something like this would return a variable not defined error:</p>
<p><pre class="brush: coldfusion;">
variables.fw.service ( 'users.get', 'userRecord' );
variables.fw.service ( 'geographic.getStatesByCountry', 'states', { userID = userRecord.getUserID() );
</pre></p>
<p>So after spending some time reading through threads on Google Groups, I determined the old fashioned way is the best way. However there&#8217;s a nice feature if you have a bean service defined such as ColdSpring. This feature implicitly sets a property named the same as a defined bean in your XML configuration. For example:</p>
<p><pre class="brush: coldfusion;">
component accessors = true {
  property usersService;

  function init ( FW ) {
    variables.fw = arguments.fw;
    return this;
  }

  void function default ( RC ) {
    RC.performerRecord = getUsersService().get ( ID = 1 );
    variables.fw.service ( 'geographic.getStatesByCountry', 'states', { userID = userRecord.getUserID() );
  }
}
</pre></p>
<p>You don&#8217;t need use the fw.service on the last call, but I left it in there &#8230; just because.</p>
<p>What happens is FW/1 will look to see if each property defined matches a bean definition. If found it automatically sets the property to the bean. Otherwise you&#8217;d normally put something like this into your init:</p>
<p><pre class="brush: coldfusion;">
setUsersService ( application.beanfactory.getBean ( &quot;users&quot; ) );
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christierney.wordpress.com/691/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christierney.wordpress.com/691/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christierney.wordpress.com/691/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christierney.wordpress.com/691/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christierney.wordpress.com/691/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christierney.wordpress.com/691/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christierney.wordpress.com/691/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christierney.wordpress.com/691/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christierney.wordpress.com/691/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christierney.wordpress.com/691/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christierney.wordpress.com/691/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christierney.wordpress.com/691/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christierney.wordpress.com/691/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christierney.wordpress.com/691/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=691&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christierney.com/2012/03/13/fw1-coldspring-services-that-rely-on-the-prior/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b932c899a85440dcc270e4637c02b64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christierney</media:title>
		</media:content>
	</item>
		<item>
		<title>FW/1 and Service Beans in ColdSpring</title>
		<link>http://christierney.com/2012/03/13/fw1-and-service-beans-in-coldspring/</link>
		<comments>http://christierney.com/2012/03/13/fw1-and-service-beans-in-coldspring/#comments</comments>
		<pubDate>Tue, 13 Mar 2012 19:09:30 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Beans]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[ColdSpring]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[FW/1]]></category>

		<guid isPermaLink="false">http://christierney.com/?p=687</guid>
		<description><![CDATA[Recently I started switching from a Model-Glue implementation with ColdSpring to FW/1 (Framework One) with ColdSpring on a project of mine. An example service bean definition looks like this: With the new FW/1 code, I tried calling a method in this service by using: But ended up with this error: Service &#8216;geographic.getStatesByCountry&#8217; does not exist. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=687&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I started switching from a Model-Glue implementation with ColdSpring to FW/1 (Framework One) with ColdSpring on a project of mine.</p>
<p>An example service bean definition looks like this:</p>
<p><pre class="brush: xml;">
&lt;bean id=&quot;geographic&quot; class=&quot;geographicService&quot; /&gt;
</pre></p>
<p>With the new FW/1 code, I tried calling a method in this service by using:</p>
<p><pre class="brush: coldfusion;">
variables.fw.service ( 'geographic.getStatesByCountry', 'states' );
</pre></p>
<p>But ended up with this error:</p>
<blockquote><p>Service &#8216;geographic.getStatesByCountry&#8217; does not exist. To have the execution of this service be conditional based upon its existence, pass in a third parameter of &#8216;false&#8217;.</p></blockquote>
<p>After hours of debugging, my team member finally found a solution; change the bean id from geographic to geographicService. Apparently FW/1 automatically appends &#8220;Service&#8221; to the bean ID it references so that it can cache services and controllers that way. This appears to be lacking in the FW/1 <a title="FW/1 documentation" href="https://github.com/seancorfield/fw1/wiki/_pages" target="_blank">documentation</a>, or at least clearly.</p>
<p>So the fix is:</p>
<p><pre class="brush: xml;">
&lt;bean id=&quot;geographicService&quot; class=&quot;geographicService&quot; /&gt;
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christierney.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christierney.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christierney.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christierney.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christierney.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christierney.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christierney.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christierney.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christierney.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christierney.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christierney.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christierney.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christierney.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christierney.wordpress.com/687/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=687&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christierney.com/2012/03/13/fw1-and-service-beans-in-coldspring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b932c899a85440dcc270e4637c02b64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christierney</media:title>
		</media:content>
	</item>
		<item>
		<title>Console Logging of ColdFusion ORM SQL</title>
		<link>http://christierney.com/2012/03/05/console-logging-of-coldfusion-orm-sql/</link>
		<comments>http://christierney.com/2012/03/05/console-logging-of-coldfusion-orm-sql/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 21:00:32 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[sql queries]]></category>

		<guid isPermaLink="false">http://christierney.com/?p=676</guid>
		<description><![CDATA[If you read my post on getting the ColdFusion Builder Console working and use ORM, you may have run into some further questions. When generating ORM, it&#8217;s wise to monitor what SQL queries Hibernate is generating for you, both for performance and debugging reasons. (Wasn&#8217;t ORM supposed to make my life easier?). To start logging ORM&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=676&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you read my post on getting the <a href="http://christierney.com/2012/02/03/my-new-experience-getting-coldfusion-builder-2-console-working/">ColdFusion Builder Console working</a> and use ORM, you may have run into some further questions.</p>
<p>When generating ORM, it&#8217;s wise to monitor what SQL queries Hibernate is generating for you, both for performance and debugging reasons. (Wasn&#8217;t ORM supposed to make my life easier?).</p>
<p>To start logging ORM&#8217;s SQL set this property in your application.cfc:</p>
<p><pre class="brush: coldfusion;">
&lt;cfset this.ormsettings.logsql=&quot;true&quot;&gt;
</pre></p>
<p>You&#8217;ll may notice however that the default configuration will not show DDL queries used for creating or updating tables nor will it show the parametrized values (just a ?).</p>
<p>To enable these things look at &lt;cf_home&gt;\lib\log4j.properties (in my case it&#8217;s C:\ColdFusion9\lib\log4j.properties).</p>
<p>To enable logging of parametrized values uncomment and change the value for log4j.logger.org.hibernate.type to look like this:</p>
<p><pre class="brush: coldfusion;">
log4j.logger.org.hibernate.type=DEBUG
</pre></p>
<p>It seems like a little overkill on what this ends up returning because not only will it return your parametrized values but also what each column returns. I wish I could disable the latter.</p>
<p>To enable logging of exports and updates (DDL) uncomment and change the value for log4j.logger.org.hibernate.tool.hbm2ddl to look like this:</p>
<p><pre class="brush: coldfusion;">
log4j.logger.org.hibernate.tool.hbm2ddl=DEBUG, HIBERNATECONSOLE
</pre></p>
<p>I placed an example snippet below. Thanks to <a href="http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-how-to-log-sql/" target="_blank">Rupesh Kumar</a> for providing this information.</p>
<p><a href="http://christierney.files.wordpress.com/2012/03/log4jproperties1.png"><img class="aligncenter size-full wp-image-679" title="log4jproperties" src="http://christierney.files.wordpress.com/2012/03/log4jproperties1.png?w=614" alt=""   /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christierney.wordpress.com/676/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christierney.wordpress.com/676/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christierney.wordpress.com/676/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christierney.wordpress.com/676/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christierney.wordpress.com/676/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christierney.wordpress.com/676/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christierney.wordpress.com/676/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christierney.wordpress.com/676/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christierney.wordpress.com/676/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christierney.wordpress.com/676/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christierney.wordpress.com/676/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christierney.wordpress.com/676/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christierney.wordpress.com/676/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christierney.wordpress.com/676/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=676&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christierney.com/2012/03/05/console-logging-of-coldfusion-orm-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b932c899a85440dcc270e4637c02b64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christierney</media:title>
		</media:content>

		<media:content url="http://christierney.files.wordpress.com/2012/03/log4jproperties1.png" medium="image">
			<media:title type="html">log4jproperties</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL to ColdFusion ORMType Reference</title>
		<link>http://christierney.com/2012/02/23/sql-to-coldfusion-ormtype-reference/</link>
		<comments>http://christierney.com/2012/02/23/sql-to-coldfusion-ormtype-reference/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 21:37:25 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://christierney.com/?p=663</guid>
		<description><![CDATA[I have not been able to find a good reference chart out there that maps SQL Data Types to ColdFusion ORM Data Types. It&#8217;s always really been my best guess. So I&#8217;m going to start a reference chart here that as I figure it out I&#8217;ll update. If you have any input on this please [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=663&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have not been able to find a good reference chart out there that maps SQL Data Types to ColdFusion ORM Data Types. It&#8217;s always really been my best guess. So I&#8217;m going to start a reference chart here that as I figure it out I&#8217;ll update. If you have any input on this please comment and I will update. Thanks!</p>
<table>
<thead>
<tr>
<th>ORMType</th>
<th>SQL</th>
<th>MySQL</th>
</tr>
</thead>
<tbody>
<tr>
<td>big_decimal</td>
<td>DECIMAL, MONEY</td>
<td>DECIMAL</td>
</tr>
<tr>
<td>binary</td>
<td>BINARY, VARBINARY</td>
<td>TINYBLOB </td>
</tr>
<tr>
<td>blob</td>
<td></td>
<td>TINYBLOB</td>
</tr>
<tr>
<td>Boolean</td>
<td>[SMALLINT], BIT</td>
<td>BIT</td>
</tr>
<tr>
<td>clob</td>
<td></td>
<td>LONGTEXT</td>
</tr>
<tr>
<td>date</td>
<td>DATE</td>
<td>DATE</td>
</tr>
<tr>
<td>double</td>
<td>DOUBLE, MONEY, NUMERIC</td>
<td>DOUBLE</td>
</tr>
<tr>
<td>character, char</td>
<td></td>
<td>CHAR</td>
</tr>
<tr>
<td>float</td>
<td>REAL, FLOAT</td>
<td>FLOAT</td>
</tr>
<tr>
<td>integer, int</td>
<td>INT</td>
<td>INT</td>
</tr>
<tr>
<td>long</td>
<td>BIGINT</td>
<td>BIGINT</td>
</tr>
<tr>
<td>serializable</td>
<td></td>
<td>TINYBLOB</td>
</tr>
<tr>
<td>short</td>
<td>SMALLINT</td>
<td>SMALLINT</td>
</tr>
<tr>
<td>string</td>
<td>CHAR, NCHAR, VARCHAR, NVARCHAR</td>
<td>VARCHAR</td>
</tr>
<tr>
<td>text</td>
<td>TEXT, NTEXT</td>
<td>LONGTEXT</td>
</tr>
<tr>
<td>timestamp</td>
<td>DATETIME, SMALLDATETIME, TIMESTAMP</td>
<td>DATETIME</td>
</tr>
<tr>
<td>true_false</td>
<td></td>
<td>CHAR</td>
</tr>
<tr>
<td>yes_no</td>
<td></td>
<td>CHAR</td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christierney.wordpress.com/663/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christierney.wordpress.com/663/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christierney.wordpress.com/663/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christierney.wordpress.com/663/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christierney.wordpress.com/663/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christierney.wordpress.com/663/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christierney.wordpress.com/663/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christierney.wordpress.com/663/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christierney.wordpress.com/663/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christierney.wordpress.com/663/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christierney.wordpress.com/663/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christierney.wordpress.com/663/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christierney.wordpress.com/663/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christierney.wordpress.com/663/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=663&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christierney.com/2012/02/23/sql-to-coldfusion-ormtype-reference/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b932c899a85440dcc270e4637c02b64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christierney</media:title>
		</media:content>
	</item>
		<item>
		<title>Notes on Installing Local ColdFusion 10 Beta, ColdFusion Builder 2.0.1 Beta and IIS 7</title>
		<link>http://christierney.com/2012/02/20/notes-on-installing-local-coldfusion-10-beta-coldfusion-builder-2-0-1-beta-and-iis-7/</link>
		<comments>http://christierney.com/2012/02/20/notes-on-installing-local-coldfusion-10-beta-coldfusion-builder-2-0-1-beta-and-iis-7/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 15:23:28 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[ColdFusion Servers]]></category>
		<category><![CDATA[coldfusion application server]]></category>
		<category><![CDATA[jetty]]></category>
		<category><![CDATA[jrun]]></category>
		<category><![CDATA[server service]]></category>
		<category><![CDATA[server view]]></category>
		<category><![CDATA[web root]]></category>

		<guid isPermaLink="false">http://christierney.com/?p=653</guid>
		<description><![CDATA[I recently did a clean install with ColdFusion 10 Beta and ColdFusion Builder 2.0.1 Beta on a Windows 7 SP1 64-bit machine. (This is for a local development environment) IIS After installing IIS 7 with defaults and turning on ISASPI filters, I noticed ColdFusion would not initialize. After reading through some notes be sure to turn [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=653&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently did a clean install with ColdFusion 10 Beta and ColdFusion Builder 2.0.1 Beta on a Windows 7 SP1 64-bit machine. (This is for a local development environment)</p>
<h4>IIS</h4>
<p>After installing IIS 7 with defaults and turning on ISASPI filters, I noticed ColdFusion would not initialize. After reading through some notes be sure to turn on these options for IIS 7:</p>
<ul>
<li>.NET Extensibility</li>
<li>ASP.NET</li>
<li>CGI</li>
<li>ISAPI Extensions</li>
<li>ISAPI Filters</li>
</ul>
<h4>Web Root</h4>
<p>I noticed when installing ColdFusion, the option for where the web root is located has been removed. It&#8217;s kind of complicated, so I&#8217;ll give you an example of how I changed mine to c:\wwwroot.</p>
<ol>
<li>I pointed my default IIS site to c:\wwwroot. This is probably not necessary as long as you have another site setup with virtual directory for /CFIDE (C:\wwwroot\CFIDE) and /jakarta (C:\ColdFusion10\config\wsconfig\1). Notice the new jakarta requirement in addition to the standard CFIDE alias.</li>
<li>Copy (or perhaps move) the contents of &#8220;C:\ColdFusion10\cfusion\wwwroot&#8221; to &#8220;C:\wwwroot&#8221;. This should include the folders CFIDE and WEB-INF.</li>
<li>Edit the file &#8220;C:\ColdFusion10\cfusion\runtime\conf\server.xml&#8221;</li>
<li>Copy the &#8220;&lt;Context&#8230;&#8221; open and close element that is currently commented out to the next line uncommented.</li>
<li>You will need to change the docBase to your new webroot, the WorkDir to the absolute path, and the aliases for CFIDE and WEB-INF. Why the aliases are needed in both IIS and this config you&#8217;ve got me. But if you leave them out you&#8217;ll end up with an error from Apache. Not sure what this is about yet.<br />
&lt;Context path=&#8221;/&#8221; docBase=&#8221;C:\wwwroot&#8221; WorkDir=&#8221;C:\ColdFusion10\cfusion\runtime\conf\Catalina\localhost\tmp&#8221; aliases=&#8221;/CFIDE=C:\wwwroot\CFIDE,/WEB-INF=C:\wwwroot\WEB-INF&#8221; &gt;&lt;/Context&gt;</li>
<li>Restart your ColdFusion server service.</li>
</ol>
<div><em>Thanks to <a href="http://blog.bittersweetryan.com/2012/02/changing-webroot-of-coldfusion-zeus.html" target="_blank">Ryan Anklam&#8217;s Blog</a> for providing me with a starting point on this.</em></div>
<h4>ColdFusion Builder 2.0.1 Beta</h4>
<p>After I installed ColdFusion Builder 2.0.1 Beta (running as Administrator), I attempted to add the server to the server view. However I ran into the issue where only ColdFusion version 9 was available. After a post to the discussion groups I learned:</p>
<ul>
<li>The Application Server setting should be &#8220;CF+Tomcat Bundle&#8221; instead of Jrun.</li>
</ul>
<div>Also there is a difference for enabling the console view on ColdFusion Builder.</div>
<div>
<ul>
<li>Be sure to install the ColdFusion Jetty Service during the ColdFusion 10 install to be able to start and stop your ColdFusion service.</li>
<li>You no longer need to set the ColdFusion Application Server service to manual.</li>
<li>ColdFusion Builder 2.0.1 will now control the service instead of its own instance.</li>
<li>Console view works with the service started instead of its own instance.</li>
</ul>
</div>
<p>I still have a lot of playing around to do with this combination, but I hope this helps a few of you out in the mean time.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christierney.wordpress.com/653/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christierney.wordpress.com/653/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christierney.wordpress.com/653/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christierney.wordpress.com/653/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christierney.wordpress.com/653/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christierney.wordpress.com/653/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christierney.wordpress.com/653/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christierney.wordpress.com/653/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christierney.wordpress.com/653/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christierney.wordpress.com/653/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christierney.wordpress.com/653/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christierney.wordpress.com/653/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christierney.wordpress.com/653/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christierney.wordpress.com/653/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=653&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christierney.com/2012/02/20/notes-on-installing-local-coldfusion-10-beta-coldfusion-builder-2-0-1-beta-and-iis-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b932c899a85440dcc270e4637c02b64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christierney</media:title>
		</media:content>
	</item>
		<item>
		<title>jQuery Select All Checkboxes</title>
		<link>http://christierney.com/2012/02/16/jquery-select-all-checkboxes/</link>
		<comments>http://christierney.com/2012/02/16/jquery-select-all-checkboxes/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 17:11:52 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://christierney.com/?p=648</guid>
		<description><![CDATA[I needed to come up with a generic way of checking all checkboxes that could be reused using jQuery. At first I thought about using the data- attribute to define which class of checkboxes to check. But then found a great way to just check all checkboxes that are located in their element container. (The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=648&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I needed to come up with a generic way of checking all checkboxes that could be reused using jQuery. At first I thought about using the data- attribute to define which class of checkboxes to check. But then found a great way to just check all checkboxes that are located in their element container. (The .on method required jQuery 1.7)</p>
<p>HTML Example Code:</p>
<p><pre class="brush: plain;">
&lt;div class=&quot;control-group&quot;&gt;
&lt;input type=&quot;checkbox&quot; class=&quot;selAllChksInGroup&quot;&gt; All
&lt;input type=&quot;checkbox&quot; value=&quot;NE&quot;&gt; Nebraska
&lt;input type=&quot;checkbox&quot; value=&quot;FL&quot;&gt; Florida
&lt;/div&gt;
</pre></p>
<p>JavaScript Code:</p>
<p><pre class="brush: plain;">
$(document).ready(function(){

$(&quot;input[type=checkbox].selAllChksInGroup&quot;).on(&quot;click.chkAll&quot;, function( event ){
    $(this).parents('.control-group:eq(0)').find(':checkbox').prop('checked', this.checked);
});

});
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christierney.wordpress.com/648/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christierney.wordpress.com/648/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christierney.wordpress.com/648/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christierney.wordpress.com/648/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christierney.wordpress.com/648/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christierney.wordpress.com/648/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christierney.wordpress.com/648/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christierney.wordpress.com/648/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christierney.wordpress.com/648/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christierney.wordpress.com/648/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christierney.wordpress.com/648/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christierney.wordpress.com/648/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christierney.wordpress.com/648/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christierney.wordpress.com/648/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=648&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christierney.com/2012/02/16/jquery-select-all-checkboxes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b932c899a85440dcc270e4637c02b64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christierney</media:title>
		</media:content>
	</item>
		<item>
		<title>Camel Case for Two Letter Acronyms</title>
		<link>http://christierney.com/2012/02/15/camel-case-for-two-letter-acronyms/</link>
		<comments>http://christierney.com/2012/02/15/camel-case-for-two-letter-acronyms/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 00:05:40 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://christierney.com/?p=646</guid>
		<description><![CDATA[Here&#8217;s another &#8220;for later reference&#8221;&#8230; Microsoft&#8217;s rules for .NET Framework 1.1 Abbreviations consist of: Do not use abbreviations or contractions as parts of identifier names. For example, use GetWindow instead of GetWin. Do not use acronyms that are not generally accepted in the computing field. Where appropriate, use well-known acronyms to replace lengthy phrase names. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=646&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s another &#8220;for later reference&#8221;&#8230;</p>
<p>Microsoft&#8217;s rules for .NET Framework 1.1 Abbreviations consist of:</p>
<ul>
<li>Do not use abbreviations or contractions as parts of identifier names. For example, use GetWindow instead of GetWin.</li>
<li>Do not use acronyms that are not generally accepted in the computing field.</li>
<li>Where appropriate, use well-known acronyms to replace lengthy phrase names. For example, use UI for User Interface and OLAP for On-line Analytical Processing.</li>
<li>When using acronyms, use Pascal case or camel case for acronyms more than two characters long. For example, use HtmlButton or htmlButton. However, you should capitalize acronyms that consist of only two characters, such as System.IO instead of System.Io.</li>
<li>Do not use abbreviations in identifiers or parameter names. If you must use abbreviations, use camel case for abbreviations that consist of more than two characters, even if this contradicts the standard abbreviation of the word.</li>
</ul>
<p>These appear to be good guidelines to follow for ColdFusion as well. I was going after casing for two letter acronyms in this case.</p>
<p>REF: <a href="http://msdn.microsoft.com/en-us/library/141e06ef(v=vs.71).aspx">http://msdn.microsoft.com/en-us/library/141e06ef(v=vs.71).aspx</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christierney.wordpress.com/646/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christierney.wordpress.com/646/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christierney.wordpress.com/646/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christierney.wordpress.com/646/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christierney.wordpress.com/646/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christierney.wordpress.com/646/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christierney.wordpress.com/646/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christierney.wordpress.com/646/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christierney.wordpress.com/646/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christierney.wordpress.com/646/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christierney.wordpress.com/646/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christierney.wordpress.com/646/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christierney.wordpress.com/646/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christierney.wordpress.com/646/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=646&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christierney.com/2012/02/15/camel-case-for-two-letter-acronyms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b932c899a85440dcc270e4637c02b64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christierney</media:title>
		</media:content>
	</item>
		<item>
		<title>Looping Over Arrays in ColdFusion 9.01 (CFScript)</title>
		<link>http://christierney.com/2012/02/14/looping-over-arrays-in-coldfusion-9-01-cfscript/</link>
		<comments>http://christierney.com/2012/02/14/looping-over-arrays-in-coldfusion-9-01-cfscript/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 22:58:37 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[arrays]]></category>
		<category><![CDATA[coldfusion]]></category>

		<guid isPermaLink="false">http://christierney.com/?p=643</guid>
		<description><![CDATA[This is pretty much a &#8220;note to self&#8221;&#8230; but in ColdFusion 9.01 you can now loop over arrays using the  for &#8211; in loop while in cfscript. Syntax is:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=643&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is pretty much a &#8220;note to self&#8221;&#8230; but in ColdFusion 9.01 you can now loop over arrays using the  for &#8211; in loop while in cfscript.</p>
<p>Syntax is:</p>
<p><pre class="brush: coldfusion;">
 for(item in array) {
doSomething(item);
}
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christierney.wordpress.com/643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christierney.wordpress.com/643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christierney.wordpress.com/643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christierney.wordpress.com/643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christierney.wordpress.com/643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christierney.wordpress.com/643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christierney.wordpress.com/643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christierney.wordpress.com/643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christierney.wordpress.com/643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christierney.wordpress.com/643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christierney.wordpress.com/643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christierney.wordpress.com/643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christierney.wordpress.com/643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christierney.wordpress.com/643/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=643&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christierney.com/2012/02/14/looping-over-arrays-in-coldfusion-9-01-cfscript/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b932c899a85440dcc270e4637c02b64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christierney</media:title>
		</media:content>
	</item>
		<item>
		<title>My New Experience Getting ColdFusion Builder 2 Console Working</title>
		<link>http://christierney.com/2012/02/03/my-new-experience-getting-coldfusion-builder-2-console-working/</link>
		<comments>http://christierney.com/2012/02/03/my-new-experience-getting-coldfusion-builder-2-console-working/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 23:38:29 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[orm]]></category>

		<guid isPermaLink="false">http://christierney.com/?p=635</guid>
		<description><![CDATA[I have ColdFusion 9 Developer Edition installed on my Windows 7 machine running IIS7. Normally my ColdFusion 9 Application Server service starts automatically for me. Recently I have started learning and developing with ORM. Because of this, I need to figure out what ORM is asking the SQL server to make sure it&#8217;s not doing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=635&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have ColdFusion 9 Developer Edition installed on my Windows 7 machine running IIS7. Normally my ColdFusion 9 Application Server service starts automatically for me.</p>
<p>Recently I have started learning and developing with ORM. Because of this, I need to figure out what ORM is asking the SQL server to make sure it&#8217;s not doing anything crazy.</p>
<p>To do this I turned on logsql in ormSettings config in application.cfc. Then found that it would log to a file or the Console view.</p>
<p>But alas, nothing showed in my Console view, and yep, I did have a server configured in the Servers view.</p>
<p>So I find out that I need to stop/start the server in the servers view to get this working. After trying that it pretty much lied to me and said it did when it really didn&#8217;t.</p>
<p>At that point I stopped the service in the Windows service and tried to start from ColdFusion Builder. No such luck.</p>
<p>Then I tried restarting ColdFusion Builder w/ Administrator rights. BAM &#8211; now I can get the CF service started.</p>
<p>But I notice something interesting. The service in the Windows Service Manager still shows stopped after a refresh. But alas my Console works perfectly.</p>
<p>So I have no idea what is going on, but this is what I figure needs to happen to get this all working correctly:</p>
<ol>
<li>Change the ColdFusion 9 Application Server properties of startup type to manual and stop the service.</li>
<li>Close ColdFusion Builder if already open and start it as Administrator (right click icon and select <strong>Run As Administrator</strong>)</li>
<li>In the Servers View in ColdFusion Builder, edit your server config and auto start and stop the CF Server. (optional but recommended&#8230; If you close CF Builder, you will need to restart the server anyway)</li>
<li>Select your server and click the green run arrow.</li>
<li>You should see ColdFusion startup with a bunch of output in the Console at this point.</li>
</ol>
<div>At this point I would suggest modifying your shortcut to always run as administrator. This has gotten me many times already, so I finally made this change.</div>
<div>
<ol>
<li>Right click shortcut and select properties</li>
<li>Click Advanced button</li>
<li>Turn on &#8220;Run as administrator&#8221;</li>
<li>OK &gt; OK</li>
</ol>
</div>
<p>What a mess! Needs to be a slicker way of getting this rolling without an hour of research and messing with Administrator rights. But hope this helps my memory and anyone else scratching their head!</p>
<p><a href="http://christierney.files.wordpress.com/2012/02/cfb_console.png"><img class="aligncenter size-full wp-image-636" title="CFB_Console" src="http://christierney.files.wordpress.com/2012/02/cfb_console.png?w=614&h=126" alt="" width="614" height="126" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christierney.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christierney.wordpress.com/635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christierney.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christierney.wordpress.com/635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christierney.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christierney.wordpress.com/635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christierney.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christierney.wordpress.com/635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christierney.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christierney.wordpress.com/635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christierney.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christierney.wordpress.com/635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christierney.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christierney.wordpress.com/635/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christierney.com&#038;blog=2217438&#038;post=635&#038;subd=christierney&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christierney.com/2012/02/03/my-new-experience-getting-coldfusion-builder-2-console-working/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b932c899a85440dcc270e4637c02b64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christierney</media:title>
		</media:content>

		<media:content url="http://christierney.files.wordpress.com/2012/02/cfb_console.png" medium="image">
			<media:title type="html">CFB_Console</media:title>
		</media:content>
	</item>
	</channel>
</rss>
