Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to exceute boolean deletesAreDetected(int type)

 
vijay kumarg
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to excecute the metod:
<< public boolean deletesAreDetected(int type)throws SQLException >>of the DatabaseMetaData interface without connecting to DB.How to accomplish this?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As a general rule, if you want to do anything with JDBC you are going to need to connect to the database. Its couterintuitive to try to find out stuff about the database, but not connect to it to do so. So what you are asking can't be done. But it does make me wonder why you are asking it. Why can't you connect to the database?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic