question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Execute.Sql() cannot execute stored procedure with Oracle runner

See original GitHub issue
Describe the bug
  • Not able to execute stored procedure in Oracle using Fluent Migrator
Steps to reproduce

A standalone project replicating the issue can be found here.

  • Load the package
  • Update the connection string in MigrationRun.cs
  • Run MigrateRun_Up.bat from the command prompt.
Expected behavior
  • Stored procedure should be executable from within Fluent Migrator.
Screenshots

image

Environment
  * Oracle.ManagedDataAccess v18.6.0
  * FluentMigrator v3.2.1
 * FluentMigrator.Runner.Oracle v3.2.1
  * Windows 10
  * Oracle 11.2.0.4
Additional context

See M0001_CreateMemberTable for details. Stored procedure can be run successfully using EXEC CREATE_INDEX without Fluent Migrator, but for some reason doesn’t work when it is wrapped in an Execute.Sql() method.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jzabroskicommented, Feb 17, 2020

@PhenX you rock!

1reaction
kriewallcommented, Feb 17, 2020

@jzabroski It works! Sorry we didn’t try this in the first place. FAQ away - thanks for the great support on this! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot execute a stored procedure in Oracle
Here is a simple example using Toad for Data Analysts 3.0.1.1734. I have full permissions on the schema JSWEENEY. ... Execute the procedure:...
Read more >
Cannot execute Stored Procedure more than once
Hello,. I'm using oracle 12c. I just created a stored procedure which works fine. Problem is that the second time I run it,...
Read more >
get ORA-01031: insufficient privileges when execute procedur...
Hello there: I met the "ORA-01031: insufficient privileges" error, when rebuild index with online option in a procedure.
Read more >
How can I track the execution of PL/SQL and SQL? - Ask TOM
How can I track the execution of PL/SQL and SQL? Hi Tom,How can I know what a given user is executing if his...
Read more >
Cannot execute Oracle stored procedure
Hi, I am new to Liquibase and trying to get my head around it. I'd like Liquibase to execute an existing stored procedure...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found