Giter Club home page Giter Club logo

Comments (7)

jgebal avatar jgebal commented on June 30, 2024

@tortureduck can you give a full example of steps to reproduce?

from ruby-plsql.

jgebal avatar jgebal commented on June 30, 2024

@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.

tortureduck avatar tortureduck commented on June 30, 2024

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.

tortureduck avatar tortureduck commented on June 30, 2024

To be honest thats pretty rare, but it probably points to some other kind of bug.

from ruby-plsql.

jgebal avatar jgebal commented on June 30, 2024

@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.

jwassell avatar jwassell commented on June 30, 2024

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.

stale avatar stale commented on June 30, 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.

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.