<?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: Initial version of DataMapper Oracle adapter</title>
	<atom:link href="http://blog.rayapps.com/2009/07/21/initial-version-of-datamapper-oracle-adapter/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rayapps.com/2009/07/21/initial-version-of-datamapper-oracle-adapter/</link>
	<description>About Ruby, Oracle, Mac and others</description>
	<lastBuildDate>Wed, 28 Jul 2010 16:18:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Raimonds Simanovskis</title>
		<link>http://blog.rayapps.com/2009/07/21/initial-version-of-datamapper-oracle-adapter/#comment-1014</link>
		<dc:creator>Raimonds Simanovskis</dc:creator>
		<pubDate>Tue, 24 Nov 2009 15:16:58 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=86#comment-1014</guid>
		<description>You need to install do_oracle with

sudo env ARCHFLAGS=&quot;-arch x86_64&quot; gem install do_oracle

to force to compile do_oracle_ext.bundle in 64-bit mode.</description>
		<content:encoded><![CDATA[<p>You need to install do_oracle with</p>
<p>sudo env ARCHFLAGS=&#8221;-arch x86_64&#8243; gem install do_oracle</p>
<p>to force to compile do_oracle_ext.bundle in 64-bit mode.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://blog.rayapps.com/2009/07/21/initial-version-of-datamapper-oracle-adapter/#comment-1012</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Mon, 23 Nov 2009 20:06:52 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=86#comment-1012</guid>
		<description>Does this support x64 architecture? I followed your instructions on installing ruby-oci8 for Snow Leopard, and after I try to run Database.setup it gives me this error message:

LoadError: dlopen(/Library/Ruby/Gems/1.8/gems/do_oracle-0.10.0/lib/do_oracle_ext.bundle, 9): no suitable image found.  Did find:
	/Library/Ruby/Gems/1.8/gems/do_oracle-0.10.0/lib/do_oracle_ext.bundle: mach-o, but wrong architecture - /Library/Ruby/Gems/1.8/gems/do_oracle-0.10.0/lib/do_oracle_ext.bundle</description>
		<content:encoded><![CDATA[<p>Does this support x64 architecture? I followed your instructions on installing ruby-oci8 for Snow Leopard, and after I try to run Database.setup it gives me this error message:</p>
<p>LoadError: dlopen(/Library/Ruby/Gems/1.8/gems/do_oracle-0.10.0/lib/do_oracle_ext.bundle, 9): no suitable image found.  Did find:<br />
	/Library/Ruby/Gems/1.8/gems/do_oracle-0.10.0/lib/do_oracle_ext.bundle: mach-o, but wrong architecture &#8211; /Library/Ruby/Gems/1.8/gems/do_oracle-0.10.0/lib/do_oracle_ext.bundle</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds Simanovskis</title>
		<link>http://blog.rayapps.com/2009/07/21/initial-version-of-datamapper-oracle-adapter/#comment-564</link>
		<dc:creator>Raimonds Simanovskis</dc:creator>
		<pubDate>Thu, 30 Jul 2009 15:44:46 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=86#comment-564</guid>
		<description>Have you installed Oracle client on your Windows computer? Have you included Oracle client directory in PATH? According to error message it seems that OCI.DLL is not in the PATH.
See http://ruby-oci8.rubyforge.org/en/InstallForInstantClient.html for hints how to do installation.</description>
		<content:encoded><![CDATA[<p>Have you installed Oracle client on your Windows computer? Have you included Oracle client directory in PATH? According to error message it seems that OCI.DLL is not in the PATH.<br />
See <a href="http://ruby-oci8.rubyforge.org/en/InstallForInstantClient.html" rel="nofollow">http://ruby-oci8.rubyforge.org/en/InstallForInstantClient.html</a> for hints how to do installation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike at grandpa</title>
		<link>http://blog.rayapps.com/2009/07/21/initial-version-of-datamapper-oracle-adapter/#comment-563</link>
		<dc:creator>mike at grandpa</dc:creator>
		<pubDate>Thu, 30 Jul 2009 14:50:54 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=86#comment-563</guid>
		<description>my bad, i didn&#039;t follow your instruction and install using your branch of DataMapper, but now i&#039;m havin this error after installing ruby-oci8 gem:
LoadError: OCI.DLL: 126(The specified module could not be found.  )
        from c:/ruby/lib/ruby/gems/1.8/gems/ruby-oci8-2.0.2-x86-mswin32-60/lib/oci8lib_18.so
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require&#039;
        from c:/ruby/lib/ruby/gems/1.8/gems/ruby-oci8-2.0.2-x86-mswin32-60/lib/oci8.rb:25
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require&#039;
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require&#039;
        from c:/ruby/lib/ruby/gems/1.8/gems/do_oracle-0.10.0-x86-mswin32-60/lib/do_oracle.rb:8
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require&#039;
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require&#039;
        from c:/ruby/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/adapters/oracle_adapter.rb:3
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require&#039;
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require&#039;
        from c:/ruby/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/adapters.rb:128:in `load_adapter&#039;
        from c:/ruby/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/adapters.rb:107:in `adapter_class&#039;
        from c:/ruby/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/adapters.rb:14:in `new&#039;
        from c:/ruby/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core.rb:176:in `setup&#039;</description>
		<content:encoded><![CDATA[<p>my bad, i didn&#8217;t follow your instruction and install using your branch of DataMapper, but now i&#8217;m havin this error after installing ruby-oci8 gem:<br />
LoadError: OCI.DLL: 126(The specified module could not be found.  )<br />
        from c:/ruby/lib/ruby/gems/1.8/gems/ruby-oci8-2.0.2-x86-mswin32-60/lib/oci8lib_18.so<br />
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require&#8217;<br />
        from c:/ruby/lib/ruby/gems/1.8/gems/ruby-oci8-2.0.2-x86-mswin32-60/lib/oci8.rb:25<br />
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require&#8217;<br />
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require&#8217;<br />
        from c:/ruby/lib/ruby/gems/1.8/gems/do_oracle-0.10.0-x86-mswin32-60/lib/do_oracle.rb:8<br />
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require&#8217;<br />
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require&#8217;<br />
        from c:/ruby/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/adapters/oracle_adapter.rb:3<br />
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require&#8217;<br />
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require&#8217;<br />
        from c:/ruby/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/adapters.rb:128:in `load_adapter&#8217;<br />
        from c:/ruby/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/adapters.rb:107:in `adapter_class&#8217;<br />
        from c:/ruby/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/adapters.rb:14:in `new&#8217;<br />
        from c:/ruby/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core.rb:176:in `setup&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike at grandpa</title>
		<link>http://blog.rayapps.com/2009/07/21/initial-version-of-datamapper-oracle-adapter/#comment-562</link>
		<dc:creator>mike at grandpa</dc:creator>
		<pubDate>Thu, 30 Jul 2009 12:55:20 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=86#comment-562</guid>
		<description>i have installed it successfully on windows using the compiled gem you provided, however, i&#039;m getting the following error when trying to setup a connection in the irb:
LoadError: no such file to load -- C:/ruby/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/adapters/oracle_adapter

&quot;oracle_adapter.rb&quot; is not in the folder, what do i do?</description>
		<content:encoded><![CDATA[<p>i have installed it successfully on windows using the compiled gem you provided, however, i&#8217;m getting the following error when trying to setup a connection in the irb:<br />
LoadError: no such file to load &#8212; C:/ruby/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/adapters/oracle_adapter</p>
<p>&#8220;oracle_adapter.rb&#8221; is not in the folder, what do i do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike at grandpa</title>
		<link>http://blog.rayapps.com/2009/07/21/initial-version-of-datamapper-oracle-adapter/#comment-561</link>
		<dc:creator>mike at grandpa</dc:creator>
		<pubDate>Thu, 30 Jul 2009 12:29:36 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=86#comment-561</guid>
		<description>ah, tx!! i&#039;l sure try it out.

peace~</description>
		<content:encoded><![CDATA[<p>ah, tx!! i&#8217;l sure try it out.</p>
<p>peace~</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds Simanovskis</title>
		<link>http://blog.rayapps.com/2009/07/21/initial-version-of-datamapper-oracle-adapter/#comment-557</link>
		<dc:creator>Raimonds Simanovskis</dc:creator>
		<pubDate>Wed, 29 Jul 2009 14:40:26 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=86#comment-557</guid>
		<description>Forgot to mention that other option is to use JRuby on Windows.
In that case if you have already installed JRuby 1.3 on Windows then all other installation steps should be the same as mentioned in instructions - in that case there is no need for Windows native gems.</description>
		<content:encoded><![CDATA[<p>Forgot to mention that other option is to use JRuby on Windows.<br />
In that case if you have already installed JRuby 1.3 on Windows then all other installation steps should be the same as mentioned in instructions &#8211; in that case there is no need for Windows native gems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds Simanovskis</title>
		<link>http://blog.rayapps.com/2009/07/21/initial-version-of-datamapper-oracle-adapter/#comment-556</link>
		<dc:creator>Raimonds Simanovskis</dc:creator>
		<pubDate>Wed, 29 Jul 2009 14:07:11 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=86#comment-556</guid>
		<description>If you want it to try on Windows then you need to install git and then install DataObjects and DataMapper from sources as I described in my installation instruction.

The only difference should be that instead of 
cd ../do_oracle
rake compile

download http://rayapps.com/downloads/do_oracle-0.10.0-x86-mswin32-60.gem
and then install it with
gem install ...download.path.../do_oracle-0.10.0-x86-mswin32-60.gem

This is current compiled version of do_oracle gem for Windows platform.</description>
		<content:encoded><![CDATA[<p>If you want it to try on Windows then you need to install git and then install DataObjects and DataMapper from sources as I described in my installation instruction.</p>
<p>The only difference should be that instead of<br />
cd ../do_oracle<br />
rake compile</p>
<p>download <a href="http://rayapps.com/downloads/do_oracle-0.10.0-x86-mswin32-60.gem" rel="nofollow">http://rayapps.com/downloads/do_oracle-0.10.0-x86-mswin32-60.gem</a><br />
and then install it with<br />
gem install &#8230;download.path&#8230;/do_oracle-0.10.0-x86-mswin32-60.gem</p>
<p>This is current compiled version of do_oracle gem for Windows platform.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike at grandpa</title>
		<link>http://blog.rayapps.com/2009/07/21/initial-version-of-datamapper-oracle-adapter/#comment-554</link>
		<dc:creator>mike at grandpa</dc:creator>
		<pubDate>Wed, 29 Jul 2009 08:16:54 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=86#comment-554</guid>
		<description>i&#039;d like to play around with it in windows environment, any help would be appreciated.</description>
		<content:encoded><![CDATA[<p>i&#8217;d like to play around with it in windows environment, any help would be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds Simanovskis</title>
		<link>http://blog.rayapps.com/2009/07/21/initial-version-of-datamapper-oracle-adapter/#comment-551</link>
		<dc:creator>Raimonds Simanovskis</dc:creator>
		<pubDate>Fri, 24 Jul 2009 08:09:41 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=86#comment-551</guid>
		<description>I think there is no easy way how you can pass hints to SQL queries that are generated by DataMapper. But I think that there will be no need to specify hints to DataMapper queries as they will be quite simple - either selects from one table or from several using joins on primary / foreign keys.

If you want to execute custom SQL SELECT with hints then you can execute something like:

repository.adapter.query(&quot;SELECT /* hint */ * FROM posts WHERE id = ?&quot;, 1)

In this case you will get back Struct with selected columns and not DataMapper resource.</description>
		<content:encoded><![CDATA[<p>I think there is no easy way how you can pass hints to SQL queries that are generated by DataMapper. But I think that there will be no need to specify hints to DataMapper queries as they will be quite simple &#8211; either selects from one table or from several using joins on primary / foreign keys.</p>
<p>If you want to execute custom SQL SELECT with hints then you can execute something like:</p>
<p>repository.adapter.query(&#8220;SELECT /* hint */ * FROM posts WHERE id = ?&#8221;, 1)</p>
<p>In this case you will get back Struct with selected columns and not DataMapper resource.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
