This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Statement Error
 
Similar Threads
Retrieving huge ResultSet in chunks
Getting All Records in Hibernate
java heap size out of memory error
Statement Error
Get results from user defined query