File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Statement Error

 
pankaj patil
Ranch Hand
Posts: 98
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps no records match the where clause of your SQL? Or perhas you don't commit your transaction? Can you post your code?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic