Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JDBC and the fly likes how to exceute boolean deletesAreDetected(int type) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how to exceute boolean deletesAreDetected(int type)" Watch "how to exceute boolean deletesAreDetected(int type)" New topic
Author

how to exceute boolean deletesAreDetected(int type)

vijay kumarg
Ranch Hand

Joined: Dec 14, 2006
Posts: 105
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

Joined: Apr 14, 2004
Posts: 10336

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?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
jQuery in Action, 2nd edition
 
subject: how to exceute boolean deletesAreDetected(int type)