Subject | Re: jdbc driver issue |
---|---|
Author | Thomas Kellerer |
Post date | 2008-10-21T18:53:49Z |
--- In Firebird-Java@yahoogroups.com, Roman Rokytskyy <roman@...> wrote:
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.
> > In our case bought methods returns empty lists. Is this thecorrect behavior ?
>I would expect that the result of that call is consistent with the
> It was my understanding of the JDBC specs when I implemented those
> methods. But if you read it differently, please comment.
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.