Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

update query in servlet

 
satheesh subramani
Greenhorn
Posts: 29
Fedora Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


The above code is not working

The table is create table (one number,two number);
i tried some other queries like select and delete and insert is working fine then how to resolve this
 
amit punekar
Ranch Hand
Posts: 544
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
What do you mean by not working
1) Throwing exception or something
2) Not returning you the expected result ?

regds,
Amit
 
heat rs
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thats because your result set is empty or you can say your updating on empty result set.


 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the JDBC forum, as there's nothing servlet-specific about the question.
 
satheesh subramani
Greenhorn
Posts: 29
Fedora Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry for everyone,
thanks for your help i forgot to commit the database
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic