• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

StoredProcedure Issue

 
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am invoking a Oracle StoredProcedure, I am able to compile it without any issues, but when I run it I am getting the below errors:-

ORA-02067: transaction or savepoint rollback required
ORA-02067: transaction or savepoint rollback required
ORA-00604: error occurred at recursive SQL level 1
ORA-02067: transaction or savepoint rollback required

I have used an Oracle DATALINK to connect to the connect to a remote schema for this operation.

CREATE PUBLIC DATABASE LINK TEST_LINK CONNECT TO test IDENTIFIED BY test USING 'localhost:1521/testSID';
Please let me know what is the problem here?

Thanks
 
Sheriff
Posts: 11606
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are not providing many details, so don't expect to get much help. Maybe this post might give you some pointers.
 
Bartender
Posts: 598
26
Oracle Notepad Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rithanya Laxmi wrote:Hi,

I am invoking a Oracle StoredProcedure, I am able to compile it without any issues, but when I run it I am getting the below errors:-

ORA-02067: transaction or savepoint rollback required
ORA-02067: transaction or savepoint rollback required
ORA-00604: error occurred at recursive SQL level 1
ORA-02067: transaction or savepoint rollback required

I have used an Oracle DATALINK to connect to the connect to a remote schema for this operation.

CREATE PUBLIC DATABASE LINK TEST_LINK CONNECT TO test IDENTIFIED BY test USING 'localhost:1521/testSID';
Please let me know what is the problem here?

Thanks



The error is rather descriptive, you cannot do that without a ROLLBACK. Just because you can compile an SP does not mean you can execute it. Compilation and execution check different things.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic