Don't understand for wath you like implement this interface, java.sql.DatabaseMetaData is a Java interface.
It's are impelmented by diferent data base drivers (driver packages) to allow obtain meta data information about one table and fields and more, but, all divers already implement this interface, and you don't would should implement it.
You like buid own databas driver, or own data base access?, if response is no, then dont' understand you !
if like more information about DatabaseMetaData, see:
http://java.sun.com/j2se/1.3/docs/api/java/sql/DatabaseMetaData.html
just as jpadron said:
a database driver normally provides a Class implementing the interface java.sql.DatabaseMetaData.
By having a look to the API documentation for this class you will see the methods supported and what the (should) do.
Some drivers seem no to implement all methods "100% correct" - means: when testing with mySQL I sometimes read out the meta data, but e.g. when requesting the column data types it always returned "java.lang.String"...
So it's useful to test ones or twice what kind or data the implementation of DatabaseMetaData returns. It might be useful to know how many columns a table has...
have fun
thanks, jpadron ... thanks Thof ...
I didn't know that some drivers implements DatabaseMetaData interface ... this information solve my problem for now ...
I'm a inexperienced java programmer and I have a chalenge here in my company in Brazil ... wish luck to me !!
thanks again !