Subject Re: jdbc driver issue
Author Thomas Kellerer
--- In Firebird-Java@yahoogroups.com, Roman Rokytskyy <roman@...> wrote:
> > In our case bought methods returns empty lists. Is this the
correct behavior ?
>
> It was my understanding of the JDBC specs when I implemented those
> methods. But if you read it differently, please comment.

I would expect that the result of that call is consistent with the
return values of:

supportsSchemasInDataManipulation()
supportsSchemasInIndexDefinitions()
supportsSchemasInPrivilegeDefinitions()
supportsSchemasInProcedureCalls()
supportsSchemasInTableDefinitions()

If any of those methods return true, I would expect that getSchemas()
returns at least one entry. If none of them return true, I would think
returning nothing in getSchemas() is perfectly OK (although I do not
have a real JDBC spec available only, the Javadocs).
The same goes for catalogs.