Solved

dbms_job.submit using jdbc

Posted on 2004-09-14
5
879 Views
Last Modified: 2008-03-17
I have a jsp from which I am submitting the oracle procedure name, which is being used to submit as the oracle job.

I am using the CallableStatement to call DBMS_JOB.SUBMIT to schedule the procedure.

But when I execute the JSP, I am getting the following error

Error while submiting the job=>ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "SYS.DBMS_JOB", line 142

Need help.


0
Comment
Question by:kulsmadya
  • 2
5 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 500 total points
ID: 12053925
0
 
LVL 35

Expert Comment

by:TimYates
ID: 12053933
There's something wrong with your stored procedure...  That link should help :-)
0
 
LVL 11

Expert Comment

by:sompol_kiatkamolchai
ID: 12055147
Can you run that store procedure manually in SQL editor?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
method inner class 6 83
Spring MVC - sending raw charset to backend 3 223
memory representation of int[][][] a=new int[2][][]; 10 60
Suggestion on WebSite Template Sites 6 108
If you are looking at this article, you have most likely been hit by some version of ransomware and are trying to find out if there is anything you can do, or what way you should react - READ ON!
The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question