[ANN] ruby-oci8 1.0.0-rc2

Discussion in 'Ruby' started by KUBO Takehiro, Apr 22, 2007.

  1. ruby-oci8 1.0.0-rc2 is released. This is a Oracle module using OCI8 API.

    http://rubyforge.org/projects/ruby-oci8/

    What's new.

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

    require 'oci8'
    conn = OCI8.new('username/password@tns_name')
    # instead of OCI8.new('username', 'password', 'tns_name')

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

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

    /usr/src/redhat/RPMS/i386/ruby-oci8-x.y.z-1.i386.rpm

    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, OCI8::CLOB.new(conn, lob_data))
    cursor.exec

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

    conn.exec("INSERT INTO blob_table VALUES :)1)",
    OCI8::BLOB.new(conn, 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.
    KUBO Takehiro, Apr 22, 2007
    #1
    1. Advertising

  2. Hi,

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


    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.
    KUBO Takehiro, Apr 23, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Huw Collingbourne
    Replies:
    0
    Views:
    99
    Huw Collingbourne
    Feb 1, 2007
  2. Gregory Brown

    [ANN] Ruby Reports 1.0 RC2 (0.11.0)

    Gregory Brown, May 2, 2007, in forum: Ruby
    Replies:
    0
    Views:
    75
    Gregory Brown
    May 2, 2007
  3. Ilmari Heikkinen

    [ANN] Metadata 1.0-rc2

    Ilmari Heikkinen, Sep 19, 2007, in forum: Ruby
    Replies:
    12
    Views:
    430
    Bill Kelly
    Sep 21, 2007
  4. Yuki Sonoda (Yugui)

    [ANN] Ruby 1.9.2 RC2 is out

    Yuki Sonoda (Yugui), Jul 11, 2010, in forum: Ruby
    Replies:
    0
    Views:
    89
    Yuki Sonoda (Yugui)
    Jul 11, 2010
  5. A famous IT technical writer

    Ruby 1.8.7 and Ruby 1.9.2-rc2 works on HP-UX

    A famous IT technical writer, May 1, 2011, in forum: Ruby
    Replies:
    0
    Views:
    147
    A famous IT technical writer
    May 1, 2011
Loading...

Share This Page