Giter Club home page Giter Club logo

Comments (9)

stale avatar stale commented on August 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from ruby-plsql.

clamp84 avatar clamp84 commented on August 17, 2024

@jgebal Did you encounter any issues related to this? On Oracle 19 we are seeing odd behavior. When a function returns a record the result is always an empty object {}. Is this related? Thanks

from ruby-plsql.

jgebal avatar jgebal commented on August 17, 2024

Not sure. I'm not using ruby-plsql for quite some time now.

from ruby-plsql.

ojbucao avatar ojbucao commented on August 17, 2024

@jgebal I'm curious. What alternative are you using?

from ruby-plsql.

jgebal avatar jgebal commented on August 17, 2024

I'm using utPLSQL v3
It is using rspec-like expectations syntax in pure PLSQL.

from ruby-plsql.

bpom avatar bpom commented on August 17, 2024

from ruby-plsql.

AvneetBaweja avatar AvneetBaweja commented on August 17, 2024

@bpom how did you "adapt ruby-plsql to 19c" . could you please share the details?

from ruby-plsql.

bpom avatar bpom commented on August 17, 2024

@AvneetBaweja which details do you need? You can review the pull request #196

As a summary: for records, associative arrays and cursors the metadata are now selected from all_plsql_types, all_plsql_coll_types, all_plsql_type_attrs instead of all_arguments since Oracle has removed the entries for such types in 18c

from ruby-plsql.

AvneetBaweja avatar AvneetBaweja commented on August 17, 2024

Hello @bpom and @yahonda

I see that the changes usder this pull reqyuest has been released into latest version of ruby-plsql gem.

I have installed the required gems on my machine but i am not able to work with complex datatypes in oracle 19c.

here is my list of gems
*** LOCAL GEMS ***

bigdecimal (default: 1.2.8)
builder (3.2.4)
bundler (2.2.25)
did_you_mean (1.0.0)
diff-lcs (1.4.4)
io-console (default: 0.4.5)
json (default: 1.8.3)
mini_portile2 (2.1.0)
minitest (5.8.5)
net-telnet (0.1.1)
nokogiri (1.6.8.1 x64-mingw32)
power_assert (0.2.6)
psych (default: 2.1.0)
rake (10.4.2)
rdoc (default: 4.2.1)
rspec (3.10.0)
rspec-core (3.10.1)
rspec-expectations (3.10.1)
rspec-mocks (3.10.2)
rspec-support (3.10.2)
rspec_junit_formatter (0.4.1, 0.2.3)
ruby-oci8 (2.2.8 x64-mingw32, 2.2.4 x64-mingw32)
ruby-plsql (0.8.0, 0.7.1)
ruby-plsql-spec (0.5.0)
rubygems-update (3.2.25)
test-unit (3.1.5)
thor (0.19.4)

And this is the error i am getting when trying to run a package function.

  1. control_sheets GIVEN a call to get_param_value WHEN parameter array is empty it returns null
    Failure/Error: plsql.control_sheet.get_param_value(nil,-1)

    OCIError:
    ORA-00911: invalid character
    ORA-06512: at line 4
    stmt.c:267:in oci8lib_230.so
    ./spec/unit/controlSheetTest.rb:213:in block (3 levels) in <top (required)>' ./spec/spec_helper.rb:80:in block (2 levels) in <top (required)>'

The exact call works in 11g oracle . Could you please help me here. Thanks

from ruby-plsql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.