public
Description: ruby-plsql gem provides simple Ruby API for calling Oracle PL/SQL procedures. This gem requires ruby-oci8 for connection to Oracle database.
Homepage: http://ruby-plsql.rubyforge.org
Clone URL: git://github.com/rsim/ruby-plsql.git
Search Repo:
Raimonds Simanovskis (author)
Wed Aug 20 08:01:09 -0700 2008
name age message
folder .gitignore Sat Apr 19 07:42:59 -0700 2008 Initial import of 0.1.4 release [Raimonds Simanovskis]
folder History.txt Wed Aug 20 08:01:09 -0700 2008 bugfix release 0.2.2 [Raimonds Simanovskis]
folder License.txt Sat Apr 19 07:42:59 -0700 2008 Initial import of 0.1.4 release [Raimonds Simanovskis]
folder Manifest.txt Thu Jun 26 11:16:16 -0700 2008 Final changes to JRuby support which is now ver... [Raimonds Simanovskis]
folder README.txt Thu Jun 26 11:29:02 -0700 2008 Udated readme file with JRuby support [Raimonds Simanovskis]
folder Rakefile Sat Apr 19 07:42:59 -0700 2008 Initial import of 0.1.4 release [Raimonds Simanovskis]
folder config/ Sat Apr 19 07:42:59 -0700 2008 Initial import of 0.1.4 release [Raimonds Simanovskis]
folder lib/ Wed Aug 20 08:01:09 -0700 2008 bugfix release 0.2.2 [Raimonds Simanovskis]
folder script/ Sat Apr 19 07:42:59 -0700 2008 Initial import of 0.1.4 release [Raimonds Simanovskis]
folder setup.rb Sat Apr 19 07:42:59 -0700 2008 Initial import of 0.1.4 release [Raimonds Simanovskis]
folder spec/ Tue Jul 22 10:12:51 -0700 2008 Oracle 10gR2 performance issues [Raimonds Simanovskis]
folder tasks/ Sat Apr 19 07:42:59 -0700 2008 Initial import of 0.1.4 release [Raimonds Simanovskis]
folder website/ Wed Aug 20 08:01:09 -0700 2008 bugfix release 0.2.2 [Raimonds Simanovskis]
README.txt
= ruby-plsql

* http://rubyforge.org/projects/ruby-plsql/

== DESCRIPTION:

ruby-plsql gem provides simple Ruby API for calling Oracle PL/SQL procedures.
ruby-plsql support both MRI and JRuby runtime environments.
This gem requires ruby-oci8 library (if MRI is used) or Oracle JDBC driver (ojdbc14.jar) (if JRuby is used) for 
connection to Oracle database.

See http://blog.rayapps.com for more information.

Look ar RSpec tests under spec directory for usage examples.

== FEATURES/PROBLEMS:

* Currently just NUMBER, VARCHAR2, DATE, TIMESTAMP argument types are supported for PL/SQL procedures

== SYNOPSIS:

Usage examples:

require "ruby_plsql"

plsql.connection = OCI8.new("hr","hr","xe")

plsql.test_uppercase('xxx')              # => "XXX"
plsql.test_uppercase(:p_string => 'xxx') # => "XXX"
plsql.test_copy("abc", nil, nil)         # => { :p_to => "abc", :p_to_double => "abcabc" }
plsql.test_copy(:p_from => "abc", :p_to => nil, :p_to_double => nil)
                                         # => { :p_to => "abc", :p_to_double => "abcabc" }
plsql.hr.test_uppercase('xxx')           # => "XXX"
plsql.test_package.test_uppercase('xxx') # => 'XXX'

plsql.logoff

== REQUIREMENTS:

MRI
* Requires ruby-oci8 library to connect to Oracle
JRuby
* Requires Oracle JDBC driver (ojdbc14.jar should be somewhere in PATH) to connect to Oracle

== INSTALL:

* sudo gem install ruby-plsql

== LICENSE:

(The MIT License)

Copyright (c) 2008 Raimonds Simanovskis

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.