This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes How to control Ora errors in program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "How to control Ora errors in program" Watch "How to control Ora errors in program" New topic
Author

How to control Ora errors in program

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 833


I am trying if this is the exception then my program ignore it.

Thanks & best regards
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32481
    
214

Or you could use the advice in this thread and not attempt an insert when the value isn't there.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 833
Jeanne Boyarsky wrote:Or you could use the advice in this thread and not attempt an insert when the value isn't there.


1) the provided link is not working and am seeing just blank page

not attempt an insert when the value isn't there.


2) There is a unique constraint check that's why the value is not being inserted

Thanks again & best regards
Sandeep Sanaboyina
Ranch Hand

Joined: Dec 14, 2009
Posts: 72


They say you have to be the first, the best or different. I say, is it too much to ask for all three.
 
Have you checked out Aspose?
 
subject: How to control Ora errors in program
 
It's not a secret anymore!