https://bugs.documentfoundation.org/show_bug.cgi?id=105112

--- Comment #18 from Mike Kaganski <[email protected]> ---
(In reply to Julien Nabet from comment #17)
> Perhaps we may add a function isFunctionSupported(<functionName>) in
> XDatabaseMetaData2 (which isn't published if I don't misunderstand
> https://opengrok.libreoffice.org/xref/core/offapi/com/sun/star/sdbc/
> XDatabaseMetaData2.idl?r=5687eba4) ?

Yes it's not published; but even if it were, we could introduce
XDatabaseMetaData3, and do it there. There's no problem in adding new derived
interfaces.

> I'm not an expert but I imagine this plan once the function is added in
> XDatabaseMetaData2:
> - every DB driver should include XDatabaseMetaData2 in addition to
> XDatabaseMetaData
> - implements isFunctionSupported
> - use of isFunctionSupported

It could be tested, if the driver supports the interface, in the usual way; and
*if it does*, fine-tune the existing behavior accordingly. It's a reasonable
plan, please feel free to work on that, if you feel line that.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to