configs/databases/oracle.yml in rails-1.1.6 vs configs/databases/oracle.yml in rails-1.2.0
- old
+ new
@@ -4,10 +4,19 @@
# http://rubyforge.org/projects/ruby-oci8/
#
# Specify your database using any valid connection syntax, such as a
# tnsnames.ora service name, or a sql connect url string of the form:
#
-# //host:[port][/service name]
+# //host:[port][/service name]
+#
+# By default prefetch_rows (OCI_ATTR_PREFETCH_ROWS) is set to 100. And
+# until true bind variables are supported, cursor_sharing is set by default
+# to 'similar'. Both can be changed in the configation below; the defaults
+# are equivalent to specifying:
+#
+# prefetch_rows: 100
+# cursor_sharing: similar
+#
development:
adapter: oracle
database: <%= app_name %>_development
username: <%= app_name %>