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

--- Comment #15 from Lionel Elie Mamane <[email protected]> ---
(In reply to prrvchr from comment #10)

> The UNO API does not seem to be able to retrieve the default schema of the
> connection, however there is the getSchema() method in JDBC since Java 7
> see:
> https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html#getSchema-
> -

SDBC is basically a C++/UNO "version/copy/transcription" of some older JDBC
version. Not staying frozen back in time and resynchronising with newer JDBC
versions would be a welcome project. Due to our ABI compatibility rules, this
may (stronger, I expect it will) require the use of versioned API that extend
the existing ones, see e.g.

css::sdbc::XDatabaseMetaData2 which extends css::sdbc::XDatabaseMetaData

css::sdbc::XDriverManager2 which extends css::sdbc::XDriverManager

for the mechanism which I mean.

To avoid having a multitude of

css::sdbc::Foo
css::sdbc::Foo1
css::sdbc::Foo2
css::sdbc::Foo3
css::sdbc::Foo4
css::sdbc::Foo5
css::sdbc::Foo6

I think it would be nice to do the "resynchronisation" in one go rather than
adding the new member functions one by one as we keep "discovering" the need
for them.

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

Reply via email to