<?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: Connect JRuby to MySQL using JDBC</title>
	<atom:link href="http://rubylearning.com/blog/2007/05/05/connect-jruby-to-mysql-using-jdbc/feed/" rel="self" type="application/rss+xml" />
	<link>http://rubylearning.com/blog/2007/05/05/connect-jruby-to-mysql-using-jdbc/</link>
	<description>Ruby helps programmers have more fun!</description>
	<lastBuildDate>Fri, 19 Mar 2010 06:19:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jesper</title>
		<link>http://rubylearning.com/blog/2007/05/05/connect-jruby-to-mysql-using-jdbc/comment-page-1/#comment-110900</link>
		<dc:creator>Jesper</dc:creator>
		<pubDate>Mon, 06 Apr 2009 13:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://rubylearning.com/blog/2007/05/05/connect-jruby-to-mysql-using-jdbc/#comment-110900</guid>
		<description>I tried this with Oracle instead of MySQL, and this does not work:

JavaLang::Class.forName(&quot;com.mysql.jdbc.Driver&quot;).newInstance

I found a post somewhere where Charles Nutter (mr. JRuby himself) explained that Class.forName() doesn&#039;t work because of some classloader issues. This does work instead of the line above:

import &#039;com.mysql.jdbc.Driver&#039;</description>
		<content:encoded><![CDATA[<p>I tried this with Oracle instead of MySQL, and this does not work:</p>
<p>JavaLang::Class.forName(&#8220;com.mysql.jdbc.Driver&#8221;).newInstance</p>
<p>I found a post somewhere where Charles Nutter (mr. JRuby himself) explained that Class.forName() doesn&#8217;t work because of some classloader issues. This does work instead of the line above:</p>
<p>import &#8216;com.mysql.jdbc.Driver&#8217;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!--f0c25b539901624b460e129d15264305-->