Ruby-oci8 - Oracle interface for ruby
Permalink
Failed to load latest commit information.
.travis Fix an error introduced by the previous commit. Sep 7, 2018
docs Fix typo (incorrect filename) in install-on-osx.md Feb 26, 2018
ext/oci8 Fix "No shared library is found to hook." on macOS. Sep 16, 2018
lib Change the internal structure about object type binding to use array … Sep 11, 2018
test Use array fetching when LOB colums are in a query and no object types… Sep 5, 2018
.gitignore Ignore ext/oci8/*.bundle. Sep 13, 2015
.travis.yml Rename cisetup to .travis and delete circle.yml which was used for Ci… Sep 7, 2018
.yardopts Add a document about conflicts between local connections and child pr… Mar 15, 2016
COPYING Change the license from ruby license to 2-clause BSD license. Oct 2, 2012
COPYING_old Change the license from ruby license to 2-clause BSD license. Oct 2, 2012
ChangeLog Fix "No shared library is found to hook." on macOS. Sep 16, 2018
Makefile Use ruby-oci8 version in lib/oci8/version.rb instead of VERSION. Jun 21, 2015
NEWS Fix "No shared library is found to hook." on macOS. Sep 16, 2018
README.md Embed build status at Travis CI Aug 22, 2018
dist-files Not depend on Oracle version number of Oracle client file name suffix… Aug 19, 2018
metaconfig * metaconfig: add '-w' when running test cases. Apr 8, 2008
mkpkg-win32.rb Update version to 2.2.6. Aug 22, 2018
pre-distclean.rb create map files of oci8lib_*.so on mingw32 in case of analyzing a co… Jan 19, 2012
ruby-oci8.gemspec Removed too specific version constraint Jan 19, 2017
setup.rb Fix to compile for various ruby versions. Oct 28, 2012

README.md

Ruby-oci8

Gem Version Build Status

What is ruby-oci8

Ruby-oci8 is a ruby interface for Oracle Database. The latest version is available for all Oracle versions after Oracle 10g including Oracle Instant Client.

Use ruby-oci8 2.0.6 for Oracle 8 or use ruby-oci8 2.1.8 for Oracle 9i.

Note that ruby 1.8 support was dropped in ruby-oci8 2.2.0. Use ruby-oci8 2.1.8 for ruby 1.8.

What's new

See {file:NEWS}.

Sample one-liner

When you have an Oracle database server to which sqlplus scott/tiger can connect and scott user has emp table, you can select emp and print rows as CSV by the followig one liner.

ruby -r oci8 -e "OCI8.new('scott', 'tiger').exec('select * from emp') do |r| puts r.join(','); end"

Homepage

Installation

  • {file:docs/install-full-client.md Install for Oracle Full Client}
  • {file:docs/install-instant-client.md Install for Oracle Instant Client}
  • {file:docs/install-binary-package.md Install Binary Package}
  • {file:docs/install-on-osx.md Install on OS X}

Report issues

Other documents

  • {file:docs/number-type-mapping.md Number Type Mapping between Oracle and Ruby}
  • {file:docs/timeout-parameters.md Timeout Parameters}
  • {file:docs/conflicts-local-connections-and-processes.md Conflicts between Local Connections and Child Process Handling on Unix}
  • {file:docs/hanging-after-inactivity.md Hanging After a Long Period of Inactivity}
  • {file:docs/bind-array-to-in_cond.md Bind an Array to IN-condition}
  • {file:docs/ldap-auth-and-function-interposition.md LDAP Authentication and Function Interposition}

License

  • {file:COPYING 2-clause BSD-style license} from ruby-oci8 2.1.3
  • {file:COPYING_old old Ruby license} until 2.1.2