SQLException problem

From: Arie Stern <aryes_at_vship.com>
Date: 2000/05/15
Message-ID: <8fohu4$cpo$1_at_news.netvision.net.il>#1/1


I wrote a java program that try to execute 3 functions, every function contains one SQL statement. The first contains insert statement that has violate unique constarint, the second contains commit statement, and the third contains select statement. I catch the SQLExceptions in all the fucnctions and print the error messages. In the second function I get a starnge error message as following:




(First function)

insertDBTset1 - 1
insertDBTset1 - ORA-00001: unique constraint (TEST.SYS_C002107) violated

insertDBTset1 - 23000

(Second function)

DBCOmmit - 1013
DBCOmmit - ORA-01013: user requested cancel of current operation

DBCOmmit - 72000

(Third function - O.K. !!)

Hye !!

I = 1000.0
Type [ENTER] key to finish



Any help would be appreciated.
Arie. Received on Mon May 15 2000 - 00:00:00 CEST

Original text of this message