Forum: Ruby ruby-oci8 1.0.0-rc2

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
6ece05caebbfa91944047629101bc5ea?d=identicon&s=25 Takehiro Kubo (kubo)
on 2007-04-22 17:18
(Received via mailing list)
ruby-oci8 1.0.0-rc2 is released. This is a Oracle module using OCI8 API.

What's new.

1. support SQL*Plus-like connect strings.
   (contributed by Oracle Corporation)

     require 'oci8'
     conn ='username/password@tns_name')
     # instead of'username', 'password', 'tns_name')

2. Add a rpm spec file.
   (contributed by Brian Candler)

     rpmbuild -tb ruby-oci8-x.y.z.tar.gz


3. support BINARY_FLOAT and BINADY_DOUBLE columns.
   (This problem is reported by Duncan McCaffery.)

4. support NCLOB columns.
   (This problem is reported by Dmitry Zadvornykh.)

     cursor = conn.exec('select nclob_column from nclob_table')
     cursor.fetch # => [ instance of OCI8::NCLOB ]

5. add new CLOB/NCLOB/BLOB insert method.
   (This is available on Oracle 8.1.5 or later.)

     cursor = conn.parse("INSERT INTO clob_table VALUES (:1)")
     cursor.bind_param(1,, lob_data))

     cursor = conn.parse("INSERT INTO nclob_table VALUES (:1)")
     cursor.exec(, lob_data))

     conn.exec("INSERT INTO blob_table VALUES (:1)",
     , lob_data))

   This is added to insert CLOB as a SDO_GEOMETRY's parameter
   to solve a problem reported by Pete Schwamb.

6. add an error location in C code to OCIException's backtrace.
   This is for debug information.
6ece05caebbfa91944047629101bc5ea?d=identicon&s=25 Takehiro Kubo (kubo)
on 2007-04-23 16:17
(Received via mailing list)

On 4/23/07, KUBO Takehiro <> wrote:
> ruby-oci8 1.0.0-rc2 is released. This is a Oracle module using OCI8 API.

I replaced the tar-ball at rubyforge.
The old one had a bug when compiling with gcc-4.1.
I have not noticed it because gcc-3.3 doesn't complain about it.

Thanks to Eric Snyder.
This topic is locked and can not be replied to.