Displaying 5 results from an estimated 5 matches for "orad".
Did you mean:
ored
2007 Sep 20
2
Oracle date, i get 0007 instead of 2007
...ore_type_case ends up being equal to
''0007-09-19'' instead of ''2007-09-19''.
In the oracle adapter I ran a debug accross all the fields and got, just
after it does the query and gets the results.
- 0001017408770802
- 0001017408
- "770802"
- !ruby/object:OraDate 0007/09/19 00:00:00
- !ruby/object:OraDate 0007/09/19 00:00:00
- N
- !ruby/object:OraDate 0007/09/19 00:00:00
- RM
Any ideas?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Gro...
2005 Mar 21
3
Oracle Adapter on Mac OS X?
I had previously gotten Maik Schmidt''s patch for Oracle working, but
now am trying the official Oracle adapter with the latest Rails. I''ve
been trying to get the OCI8 connector to install under OS X, but get
the following error. Has anyone gotten it working?
----
[waterdog:~/Desktop/ruby-oci8-0.1.9] stmpjmpr% ruby setup.rb config
---> lib
---> lib/DBD
---> lib/DBD/OCI8
2006 Aug 10
3
Ruby on Rails with Oracle
Hello everyone,
I am trying to convince my colleagues to convert to Ruby on Rails,
however I am up against the following problem:
Ruby on rails seems to be primarily designed a single database doing a
small number of queries. While trying to process a webpage that does
thousands of sql queries on Oracle, I get the message that I have used
up too many cursors.
In Java, I can use stmt.close()
2009 Sep 14
9
ActiveRecord::StatementInvalid (invalid date) with Oracle
Hello all. I am a novice Ruby on Rails programmer, starting my first
project using a legacy Oracle 10 database. Using ''reverse_scaffold'' I
have created the models/controllers/views for my existing Oracle
tables.
All seems to work well, using /model/index, /model/show for most of my
tables, *except* when one of the tables contains a Oracle ''date''
column, for
2007 May 29
4
undefined method `define_a_column' for class `OCI8::Cursor'
...alias :define_a_column_pre_ar :define_a_column
# <--- line 536
def define_a_column(i)
case do_ocicall(@ctx) { @parms[i -
1].attrGet(OCI_ATTR_DATA_TYPE) }
when 8 : @stmt.defineByPos(i, String, 65535) # Read LONG
values
when 187 : @stmt.defineByPos(i, OraDate) # Read TIMESTAMP
values
when 108
if @parms[i - 1].attrGet(OCI_ATTR_TYPE_NAME) == ''XMLTYPE''
@stmt.defineByPos(i, String, 65535)
else
raise ''unsupported datatype''
end
else define_a_column_pre...