Check whether the table gets locked, if u r not closing the connection or the resultset. There is a chance that the insert and update fails if the table gets locked.
Its always better to close the ResultSet object if used previously and also the Connection.
Hope this helps
My connection is closed at the end of each page so there is no chance of either connection or resultset being left open.
As **** as the locking of tables is concerned, the other statements on the same table are working fine...and moreover, the insert statement starts working on its own after some time.
hello, there, can i ask u all how to integrate oracle and jsp. I've set the classpath with the value:
classpath=.;c:\orant\jdbc\lib\classes12.zip
and i've changed the classes12.zip to jar file and locate the jar file in the lib folder under web-inf folder. however, as i run my jsp file that connect to database, the error message indicate;
"The network adapter could not establish the connection"
can u all give me piece of advice... i really appreciate ur advice... the version of the oracle is 8.1.7 and tomcat 4.0.1 . is there any wrong configuration there?
thanks in advance and regards
pat