This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum 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
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply 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
java heap size out of memory error
Retrieving huge ResultSet in chunks
Get results from user defined query
Getting All Records in Hibernate
Statement Error