[ANN] ruby-oci8 0.1.13

K

KUBO Takehiro

ruby-oci8 0.1.13 is released.
This is a Oracle module using OCI8 API.

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

What's new:

1. fix a memory leak.
(fixed by Nathaniel Talbott.)

It is recommended to update to 0.1.13 if a program executes many
queries. That's bacause 0.1.12 cause 70-byte memory leak per a
query. :-<

2. ruby's DateTime support is added.
(suggested by Daniel Berger.)

To fetch Oracle's DATE and TIMESTAMP datatype as ruby's DateTime by
default, add the following code to your code.

OCI8::BindType::Mapping[OCI8::SQLT_DAT] = OCI8::BindType::DateTime
OCI8::BindType::Mapping[OCI8::SQLT_TIMESTAMP] = OCI8::BindType::DateTime
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,019
Latest member
RoxannaSta

Latest Threads

Top