• Post Reply Bookmark Topic Watch Topic
  • New Topic

handling "table not found" !!!!!

 
shankar vembu
Ranch Hand
Posts: 309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
how to handle "table not found" error using jdbc.
i know in this case an SQLException will be thrown.
but this exception is thrown for any database errors.
how do i track down this particular case of "table not found"??
the solution should work for any databse.
thanx in advance.
shanks.
 
Daniel Dunleavy
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
getErrorCode() method should return vendor specific error
Dan
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!