<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>&lt;!--- CFChris ---&gt; - Apache Derby</title>
			<link>http://www.cfchris.com/cfchris/index.cfm</link>
			<description>The blog of Chris Phillips, a ColdFusion developer with a passion for improvement.</description>
			<language>en-us</language>
			<pubDate>Sun, 05 Sep 2010 07:47:54 -0700</pubDate>
			<lastBuildDate>Wed, 20 Jun 2007 20:39:00 -0700</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>me@cfchris.com</managingEditor>
			<webMaster>me@cfchris.com</webMaster>
			
			
			
			
			
			<item>
				<title>Using Squirrel To Connect To A Derby Database</title>
				<link>http://www.cfchris.com/cfchris/index.cfm/2007/6/20/Using-Squirrel-To-Connect-To-A-Derby-Database</link>
				<description>
				
				Last post I went over &lt;a href=&quot;http://www.cfchris.com/cfchris/index.cfm/2007/6/19/Creating-An-Apache-Derby-Data-Source-In-CF8&quot; target=&quot;_blank&quot;&gt;simple instruction for creating a Derby datasource under CF8&lt;/a&gt;.

So, I am just going to admit it... I am a GUI kind of guy. So, the first thing I wanted after I created a Derby database was a visual client to connect to and manage that database. 

I had heard &lt;a href=&quot;http://www.squirrelsql.org/&quot; target=&quot;_blank&quot;&gt;SQuirreL&lt;/a&gt; mentioned on Ben&apos;s blog. So, I&apos;m using that.

The instructions found &lt;a href=&quot;http://db.apache.org/derby/integrate/SQuirreL_Derby.html&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt; will get you up and running with just a couple of notes.

So, if you want to use the SQuirreL SQL client to manage your Derby databases, then follow those instructions keeping the following notes in mind.

&lt;ul&gt;
&lt;li&gt;When you are configuring SQuirreL for the Derby Embedded JDBC Driver, you can point it at the derby jar in your CF8 install. Mine, for example, was C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\derby.jar.&lt;/li&gt;
&lt;li&gt;When you are creating the Alias to your Derby database, use the full path to the folder ColdFusion 8 creates. Again, for example, I used jdbc:derby:C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\db\blogdev.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Important:&lt;/strong&gt; You can only have one client connected to a Derby Embedded database (that includes ColdFusion). So, you will have to stop CF8 to get SQuirreL to connect. And you will have to disconnect SQuirreL and exit to allow CF8 to re-attach to the Derby datasource.&lt;/li&gt;
&lt;/ul&gt;

That&apos;ll get you connected. After that, you&apos;re on your own...
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<category>Apache Derby</category>				
				
				<pubDate>Wed, 20 Jun 2007 20:39:00 -0700</pubDate>
				<guid>http://www.cfchris.com/cfchris/index.cfm/2007/6/20/Using-Squirrel-To-Connect-To-A-Derby-Database</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Creating An Apache Derby Data Source In CF8</title>
				<link>http://www.cfchris.com/cfchris/index.cfm/2007/6/19/Creating-An-Apache-Derby-Data-Source-In-CF8</link>
				<description>
				
				I know other people blogged this. But, I&apos;m working on &lt;a href=&quot;http://www.cfchris.com/cfchris/index.cfm/2007/6/17/BlogCFC-Derby-Support&quot; target=&quot;_blank&quot;&gt;BlogCFC Apache Derby Support&lt;/a&gt;. So, I want to chronicle the steps as I go.

From the &quot;Add New Data Source&quot; form on the data source screen in the CF8 Administrator, select the &quot;Apache Derby Embedded&quot; driver. Enter a name for your data source and hit &quot;Add&quot;. On the next screen enter the same name in the Database Folder field. Click the button to &quot;Show Advanced Settings&quot;. Enter &quot;create=true&quot; into the &quot;Connection String&quot; field. Submit the form.

It should look like this:

&lt;img src=&quot;http://www.cfchris.com/cfchris/images/DerbyDataSourceConfig.png&quot; style=&quot;border:1px solid black&quot; /&gt;

Now go hit the &lt;a href=&quot;http://db.apache.org/derby/manuals/index.html&quot; target=&quot;_blank&quot;&gt;Derby docs&lt;/a&gt; and have fun!
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<category>Apache Derby</category>				
				
				<pubDate>Tue, 19 Jun 2007 07:34:00 -0700</pubDate>
				<guid>http://www.cfchris.com/cfchris/index.cfm/2007/6/19/Creating-An-Apache-Derby-Data-Source-In-CF8</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>BlogCFC Derby Support</title>
				<link>http://www.cfchris.com/cfchris/index.cfm/2007/6/17/BlogCFC-Derby-Support</link>
				<description>
				
				So, I managed to &lt;a href=&quot;http://www.blogcfc.com/index.cfm/2007/6/11/Derby-Support&quot; target=&quot;_blank&quot;&gt;volunteer myself&lt;/a&gt; to code (if possible) Derby support into BlogCFC.

I&apos;m brand spankin&apos; new to Derby. I managed to tweak the table create scripts enough to get them to run. That is as far as I have gotten. I hope to start looking into the scope of the project tonight. Who knows, maybe it&apos;ll be less work than I imagine. :-)

However, if it should turn out to be difficult or I run into an issue that I am having trouble with, it would be nice to have someone who knows Derby at my disposal. So, if you have some experience with Derby and would like to help if I get stuck, then add a comment here.

I&apos;ll keep you all up-to-date as I get into the meat of the project...
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<category>Blogging</category>				
				
				<category>Apache Derby</category>				
				
				<pubDate>Sun, 17 Jun 2007 09:14:00 -0700</pubDate>
				<guid>http://www.cfchris.com/cfchris/index.cfm/2007/6/17/BlogCFC-Derby-Support</guid>
				
			</item>
			
		 	
			</channel></rss>