<?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/"
	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>Comments on: Writing an ActiveRecord-JDBC Adapter</title>
	<atom:link href="http://kofno.wordpress.com/2008/04/23/writing-an-activerecord-jdbc-adapter/feed/" rel="self" type="application/rss+xml" />
	<link>http://kofno.wordpress.com/2008/04/23/writing-an-activerecord-jdbc-adapter/</link>
	<description>Who's Ready For Safe Fun?</description>
	<lastBuildDate>Wed, 02 Dec 2009 15:20:06 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Geronimo</title>
		<link>http://kofno.wordpress.com/2008/04/23/writing-an-activerecord-jdbc-adapter/#comment-1554</link>
		<dc:creator>Geronimo</dc:creator>
		<pubDate>Sat, 20 Jun 2009 10:01:43 +0000</pubDate>
		<guid isPermaLink="false">http://kofno.wordpress.com/?p=855#comment-1554</guid>
		<description>Hi,

it would be great if you could give a simple example, how a new adapter could be written (for example just the framework, or just the methods which implementation are mandatory) - it would help a lot us, who has to create new jdbc-adapter(s).

Thanks and Regards,
-Geronimo</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>it would be great if you could give a simple example, how a new adapter could be written (for example just the framework, or just the methods which implementation are mandatory) &#8211; it would help a lot us, who has to create new jdbc-adapter(s).</p>
<p>Thanks and Regards,<br />
-Geronimo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kofno</title>
		<link>http://kofno.wordpress.com/2008/04/23/writing-an-activerecord-jdbc-adapter/#comment-1523</link>
		<dc:creator>kofno</dc:creator>
		<pubDate>Fri, 30 May 2008 02:09:36 +0000</pubDate>
		<guid isPermaLink="false">http://kofno.wordpress.com/?p=855#comment-1523</guid>
		<description>The driver class name is set as in the database config as the driver: value. One way to do that is to leave it for the user to specify in their database yaml file. 

Here&#039;s an example of that using a plain old jdbc adapter and Oracle:

#ORACLE
development:
       adapter: jdbc
       driver: oracle.jdbc.OracleDriver
       url: jdbc:oracle:thin:@myOracleHost:1521:mySID
       username: myUser
       password: myPass

If there is a driver that is the one most people will use, you can code your adapter to guess that driver for them. Here&#039;s some code that I wrote that does that for InterSystems Cache DB:

http://tinyurl.com/9n6wy9</description>
		<content:encoded><![CDATA[<p>The driver class name is set as in the database config as the driver: value. One way to do that is to leave it for the user to specify in their database yaml file. </p>
<p>Here&#8217;s an example of that using a plain old jdbc adapter and Oracle:</p>
<p>#ORACLE<br />
development:<br />
       adapter: jdbc<br />
       driver: oracle.jdbc.OracleDriver<br />
       url: jdbc:oracle:thin:@myOracleHost:1521:mySID<br />
       username: myUser<br />
       password: myPass</p>
<p>If there is a driver that is the one most people will use, you can code your adapter to guess that driver for them. Here&#8217;s some code that I wrote that does that for InterSystems Cache DB:</p>
<p><a href="http://tinyurl.com/9n6wy9" rel="nofollow">http://tinyurl.com/9n6wy9</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leigh</title>
		<link>http://kofno.wordpress.com/2008/04/23/writing-an-activerecord-jdbc-adapter/#comment-1522</link>
		<dc:creator>Leigh</dc:creator>
		<pubDate>Fri, 30 May 2008 00:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://kofno.wordpress.com/?p=855#comment-1522</guid>
		<description>Probably really obvious, but where is the jdbc driver name referenced ? Where should it be placed (i.e. is there a convention) in the jruby heirachy ?

Thanks.</description>
		<content:encoded><![CDATA[<p>Probably really obvious, but where is the jdbc driver name referenced ? Where should it be placed (i.e. is there a convention) in the jruby heirachy ?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
