From: KUBO Takehiro on
Ruby-oci8 2.0.4 is released. This is Oracle module using OCI8 API.

This is a maintenance release. Few new features and many fixed issues.
More than 50 % of issues are reported by Raimonds Simanovskis. Many thanks.

The Windows binary gem was compiled by mingw. It works with both Legacy
One-Click installer and RubyInstaller.

* New Features

- OCI8.error_message(message_no) -> string

Gets the Oracle error message specified by message id.
Its language depends on NLS_LANGUAGE.

Note: This method is unavailable if the Oracle client
version is 8.0.

# => "ORA-00001: unique constraint (%s.%s) violated"

# => "ORA-00001: violation de contrainte unique (%s.%s)"

- OraNumber#dump -> string

Returns OraNumber's internal representation whose format
is same with the return value of Oracle SQL function DUMP(). #=> "Typ=2 Len=2: 194,2" #=> "Typ=2 Len=3: 194,2,24" #=> "Typ=2 Len=2: 192,11"

* Fixed issues

- Fractional second part is lost when ruby's Time instance is bound
to Oracle datatype TIMESTAMP.
(reported by Raimonds Simanovskis)

- OraNumber#to_i and OraNumber#to_s fail when its scale is larger
than 38.
(reported by Raimonds Simanovskis)

- Memory leak about 30 bytes per one place holder for object type.

- Segmentation fault when a collection of string is bound.
(reported by Raimonds Simanovskis)

- Segmentation fault when GC starts while initializing a bind
object for object type.
(reported by Remi Gagnon)

- Segmentation fault when OCI8::Cursor#fetch is called prior to

- Detailed error message is not reported when PL/SQL NO_DATA_FOUND
exception is raised.
(reported by Raimonds Simanovskis)

Pages: 1
Prev: MacRuby for simple Ruby
Next: Shoes?