aspose file tools*
The moose likes JDBC and the fly likes Statement Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Statement Error" Watch "Statement Error" New topic
Author

Statement Error

pankaj patil
Ranch Hand

Joined: Dec 19, 2004
Posts: 98
Hi,

i have an query which delete the records from the database.
but when i execute using the statement.executeUpdate(query) it execute without any error but it does not returns any value.
the no of records that are going to be deleted is 1,45,000(appx). Can anyone tell the reason .

Regards
Pankaj


Regards,
Pankaj Patil
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Perhaps no records match the where clause of your SQL? Or perhas you don't commit your transaction? Can you post your code?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Statement Error