Shouldn't Connection.getCatalog() return the name of the database you are connected to, and shouldn't DMD.getCatalogs() return a result set with one row, representing the database you're connected to?

This is causing us a bit of a headache when we're trying to inspect a Derby database in NetBeans...


David W. Van Couvering