<?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: New features in ActiveRecord Oracle enhanced adapter version 1.2.2</title>
	<atom:link href="http://blog.rayapps.com/2009/09/28/new-features-in-activerecord-oracle-enhanced-adapter-version-1-2-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rayapps.com/2009/09/28/new-features-in-activerecord-oracle-enhanced-adapter-version-1-2-2/</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: Kevin Neel</title>
		<link>http://blog.rayapps.com/2009/09/28/new-features-in-activerecord-oracle-enhanced-adapter-version-1-2-2/#comment-1219</link>
		<dc:creator>Kevin Neel</dc:creator>
		<pubDate>Wed, 14 Jul 2010 02:17:29 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=116#comment-1219</guid>
		<description>Raimonds -- do you have or use any tools for generating ActiveRecord (or DataMapper) models from
an existing database? Including foreign keys, constraints, ... I see the following out there:
http://magicmodels.rubyforge.org/magic_model_generator/

 Thanks!
  Kevin</description>
		<content:encoded><![CDATA[<p>Raimonds &#8212; do you have or use any tools for generating ActiveRecord (or DataMapper) models from<br />
an existing database? Including foreign keys, constraints, &#8230; I see the following out there:<br />
<a href="http://magicmodels.rubyforge.org/magic_model_generator/" rel="nofollow">http://magicmodels.rubyforge.org/magic_model_generator/</a></p>
<p> Thanks!<br />
  Kevin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds Simanovskis</title>
		<link>http://blog.rayapps.com/2009/09/28/new-features-in-activerecord-oracle-enhanced-adapter-version-1-2-2/#comment-1187</link>
		<dc:creator>Raimonds Simanovskis</dc:creator>
		<pubDate>Mon, 03 May 2010 15:46:47 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=116#comment-1187</guid>
		<description>You can use set_integer_columns method in class definition to specify which columns should be treated like integers (you can find examples in RDoc documentation of oracle_enhanced).

And for such kind of questions it is better to use discussion group http://groups.google.com/group/oracle-enhanced</description>
		<content:encoded><![CDATA[<p>You can use set_integer_columns method in class definition to specify which columns should be treated like integers (you can find examples in RDoc documentation of oracle_enhanced).</p>
<p>And for such kind of questions it is better to use discussion group <a href="http://groups.google.com/group/oracle-enhanced" rel="nofollow">http://groups.google.com/group/oracle-enhanced</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tate</title>
		<link>http://blog.rayapps.com/2009/09/28/new-features-in-activerecord-oracle-enhanced-adapter-version-1-2-2/#comment-1184</link>
		<dc:creator>Tate</dc:creator>
		<pubDate>Fri, 30 Apr 2010 23:25:39 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=116#comment-1184</guid>
		<description>Is there a way to force a column to a specific data type within the model? We are using a legacy Oracle DB which has columns like &#039;personuid&#039; which is a number with no scale so it comes back as a float. We can&#039;t simply use the &#039;emulate_integers_by_column_name&#039; because it assumes the column is called &#039;_id&#039;.

I was hoping we could explicitly set the columns in the model somehow and the adapter would read that assignment.

Any ideas?</description>
		<content:encoded><![CDATA[<p>Is there a way to force a column to a specific data type within the model? We are using a legacy Oracle DB which has columns like &#8216;personuid&#8217; which is a number with no scale so it comes back as a float. We can&#8217;t simply use the &#8216;emulate_integers_by_column_name&#8217; because it assumes the column is called &#8216;_id&#8217;.</p>
<p>I was hoping we could explicitly set the columns in the model somehow and the adapter would read that assignment.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds Simanovskis</title>
		<link>http://blog.rayapps.com/2009/09/28/new-features-in-activerecord-oracle-enhanced-adapter-version-1-2-2/#comment-1043</link>
		<dc:creator>Raimonds Simanovskis</dc:creator>
		<pubDate>Thu, 10 Dec 2009 10:31:53 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=116#comment-1043</guid>
		<description>This issue is fixed in new oracle_enhanced version 1.2.3 that I just released.</description>
		<content:encoded><![CDATA[<p>This issue is fixed in new oracle_enhanced version 1.2.3 that I just released.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ed lebert</title>
		<link>http://blog.rayapps.com/2009/09/28/new-features-in-activerecord-oracle-enhanced-adapter-version-1-2-2/#comment-1042</link>
		<dc:creator>ed lebert</dc:creator>
		<pubDate>Wed, 09 Dec 2009 15:15:19 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=116#comment-1042</guid>
		<description>I love that you now have support for them in the generated schema.rb. However,  Now I get Oracle errors whenever I run rake db:test:prepare because my schema is trying to add a FK constraint for a table that is created later in the schema.  You should probably put the add_foreign_key calls to the end of the schema, to make sure that the referenced table has been created.</description>
		<content:encoded><![CDATA[<p>I love that you now have support for them in the generated schema.rb. However,  Now I get Oracle errors whenever I run rake db:test:prepare because my schema is trying to add a FK constraint for a table that is created later in the schema.  You should probably put the add_foreign_key calls to the end of the schema, to make sure that the referenced table has been created.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eduardo</title>
		<link>http://blog.rayapps.com/2009/09/28/new-features-in-activerecord-oracle-enhanced-adapter-version-1-2-2/#comment-1041</link>
		<dc:creator>Eduardo</dc:creator>
		<pubDate>Tue, 08 Dec 2009 02:40:30 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=116#comment-1041</guid>
		<description>I&#039;m trying to deploy an prodution app in a new enviroment (jruby+glassfish now, I was using mongrel before).

SEVERE: ERROR: ActiveRecord oracle_enhanced adapter could not load Oracle JDBC driver. Please install ojdbc14.jar library

What am I doing wrong? (Yes, odbc14.jar is in the right place). Enhanced adapter is my last attempt to get my old application to run smoothly with jruby. Unfortunaly I&#039;ll have to abandon ruby if I don&#039;t get this working (glassfish and tomcat are the only appservers allowed in my company now). I&#039;ve been trying to use activerecord-jdbc-adapter, but that is not even close to be ready for a production environment.</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to deploy an prodution app in a new enviroment (jruby+glassfish now, I was using mongrel before).</p>
<p>SEVERE: ERROR: ActiveRecord oracle_enhanced adapter could not load Oracle JDBC driver. Please install ojdbc14.jar library</p>
<p>What am I doing wrong? (Yes, odbc14.jar is in the right place). Enhanced adapter is my last attempt to get my old application to run smoothly with jruby. Unfortunaly I&#8217;ll have to abandon ruby if I don&#8217;t get this working (glassfish and tomcat are the only appservers allowed in my company now). I&#8217;ve been trying to use activerecord-jdbc-adapter, but that is not even close to be ready for a production environment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn van Rheenen</title>
		<link>http://blog.rayapps.com/2009/09/28/new-features-in-activerecord-oracle-enhanced-adapter-version-1-2-2/#comment-896</link>
		<dc:creator>Martijn van Rheenen</dc:creator>
		<pubDate>Wed, 30 Sep 2009 07:54:11 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=116#comment-896</guid>
		<description>Thanks for the support, relying on this adapter for my prototyping... Though your DataMapper&#039;s alternative, and DataMapper with it, is looking more and more interesting, actually...</description>
		<content:encoded><![CDATA[<p>Thanks for the support, relying on this adapter for my prototyping&#8230; Though your DataMapper&#8217;s alternative, and DataMapper with it, is looking more and more interesting, actually&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds Simanovskis</title>
		<link>http://blog.rayapps.com/2009/09/28/new-features-in-activerecord-oracle-enhanced-adapter-version-1-2-2/#comment-895</link>
		<dc:creator>Raimonds Simanovskis</dc:creator>
		<pubDate>Wed, 30 Sep 2009 06:11:43 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=116#comment-895</guid>
		<description>Yes, this setting will apply just for sessions created by ActiveRecord.
I think that cursor_sharing = force is safer to use for simple ActiveRecord generated statements to ensure that always all parameters will be extracted as bind variables.
If you have complex SQL statements then anyway you probably need to use find_by_sql method and then you can put there Oracle optimizer hints as well :)</description>
		<content:encoded><![CDATA[<p>Yes, this setting will apply just for sessions created by ActiveRecord.<br />
I think that cursor_sharing = force is safer to use for simple ActiveRecord generated statements to ensure that always all parameters will be extracted as bind variables.<br />
If you have complex SQL statements then anyway you probably need to use find_by_sql method and then you can put there Oracle optimizer hints as well :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Neel</title>
		<link>http://blog.rayapps.com/2009/09/28/new-features-in-activerecord-oracle-enhanced-adapter-version-1-2-2/#comment-893</link>
		<dc:creator>Kevin Neel</dc:creator>
		<pubDate>Tue, 29 Sep 2009 22:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=116#comment-893</guid>
		<description>Nice work Raimonds and co!

I recommend that people do read about the cursor_sharing option; some may want to change it to similar for their applications. Unfortunately, it is a bit of a blunt hammer, since it is either system-wide or session-wide, rather than per-statement.

I assume here you are setting the session value?</description>
		<content:encoded><![CDATA[<p>Nice work Raimonds and co!</p>
<p>I recommend that people do read about the cursor_sharing option; some may want to change it to similar for their applications. Unfortunately, it is a bit of a blunt hammer, since it is either system-wide or session-wide, rather than per-statement.</p>
<p>I assume here you are setting the session value?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roy van der Meij</title>
		<link>http://blog.rayapps.com/2009/09/28/new-features-in-activerecord-oracle-enhanced-adapter-version-1-2-2/#comment-888</link>
		<dc:creator>Roy van der Meij</dc:creator>
		<pubDate>Tue, 29 Sep 2009 11:40:42 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=116#comment-888</guid>
		<description>Nicely done!</description>
		<content:encoded><![CDATA[<p>Nicely done!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
