Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

execute() method doesn't execute.

 
Ketul Parikh
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

A problem which I fail to understand...

Everything above the ps.execute() is executed, everything below the ps.execute() is executed, which means no exception is generated by execute() method.

Which means that the query is successfully executed. But since my query was of insert, i could very well verify that no record was inserted.

Has anybody encountered this problem before? Is there any possibility that this is a problem, may be due to database?

Can someone help?
 
Karthik Shiraly
Bartender
Posts: 1210
25
Android C++ Java Linux PHP Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Was the insert done in a transaction and was it committed?
Also, what database are you using?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic