Comments (7)
@tortureduck can you give a full example of steps to reproduce?
from ruby-plsql.
@tortureduck. The issue is hard to reproduce without an example.
Can you provide ruby/rspec code to reproduce the issue? Is it still an issue?
from ruby-plsql.
Hi!
This should do the job, I have atm not a full ruby dev environment setup, therefore I am not able to provide a rspec, sorry for that!
Tx!
CREATE USER SDO IDENTIFIED BY SDO;
GRANT DBA TO SDO;
CONN SDO/SDO
CREATE OR REPLACE PACKAGE abctest IS
PROCEDURE testproc;
END;
/
CREATE OR REPLACE PACKAGE BODY abctest IS
PROCEDURE testproc IS
BEGIN
NULL;
END;
END;
/
from ruby-plsql.
To be honest thats pretty rare, but it probably points to some other kind of bug.
from ruby-plsql.
@tortureduck
Please have a look at tests inside the framework, here:
https://github.com/rsim/ruby-plsql/blob/master/spec/plsql/package_spec.rb#L116
and here:
https://github.com/rsim/ruby-plsql/blob/master/spec/plsql/package_spec.rb#L154
Those are tests (passing) that validate that ruby-plsql is resolving package name from both private and public synonyms.
Could you provide similar test to the ones mentioned that show in what circumstances it's failing?
from ruby-plsql.
I'm having the same problem. My oracle schema also has a package with the same name. If I comment out this line in procedure_call.rb it works:
@call_sql << "#{schema_name}." if schema_name
@tortureduck can you give details on your workaround?
from ruby-plsql.
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.
Related Issues (20)
- XMLTYPE in/out binds non-functional in 12C HOT 6
- Selecting out a BLOB object results in an error
- 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
- Composite arguments and Oracle 18c + HOT 9
- 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
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.