This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
Statement Error
Getting All Records in Hibernate
Get results from user defined query
java heap size out of memory error