I found this:

http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DatabaseMetaData.html

So, is this the way reach table metadata?
 
http://db.apache.org/derby/javadoc/engine/org/apache/derby/client/am/DatabaseMetaData.html

John