Comments (9)
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.
@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.
Not sure. I'm not using ruby-plsql for quite some time now.
from ruby-plsql.
@jgebal I'm curious. What alternative are you using?
from ruby-plsql.
I'm using utPLSQL v3
It is using rspec-like expectations syntax in pure PLSQL.
from ruby-plsql.
from ruby-plsql.
@bpom how did you "adapt ruby-plsql to 19c" . could you please share the details?
from ruby-plsql.
@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.
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.
-
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:inblock (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)
- Proposal to drop old versions of Rails, CRuby and JRuby HOT 1
- Extended Support for Associative Arrays HOT 3
- NoMethodError: undefined method `match' for nil:NilClass when trying to connect with URL, username, password via JDBC HOT 1
- Release require for Ruby v2.4, v2.5 support with no warnings HOT 4
- Thread safety issue in connection.session_id HOT 1
- Can't kill an app with SIGHUP if listening to queue without dequeue_options_t.wait HOT 1
- PLSQL::Variable metadata may query the wrong schema looking up %TYPE and %ROWTYPE HOT 1
- PL/SQL Constant not found HOT 1
- Add ruby-oci8 as a runtime dependency HOT 2
- Nested array HOT 1
- Support Oracle Database 18.3.0 or higher HOT 13
- OCI8::Cursor was already closed.
- Complex datatypes are not handled with ruby-plsql v 0.8.0 for oracle 19c HOT 13
- 0.8.0 breaks Oracle function
- ruby-plsql 0.8.0: Procedure with parameters referencing system packages fails HOT 3
- ruby-plsql 0.8.0 / Oracle 19c: "No PL/SQL procedure or variable 'VERSION' found" when accessing plsql.dbms_db_version.version
- Session variables with subtypes crash
- ORA-12505 When Connecting Using Jdbc.
- Is this project still alive?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby-plsql.