Depends on the concept in Derby of what a catalog is as your mileage can
vary between databases.
Some vendors treat it as the database name, others do not.
Null is allowed to be returned if the concept of catalog is not
applicable to a given database
Regards
Lance
David Van Couvering wrote:
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...
Thanks,
David
--
David W. Van Couvering
http://davidvancouvering.blogspot.com