The problem is that the getSchemas() call is actually returning a single row with a value for the schema of “.” We understand that Access/Excel don’t have schemas but the ResultSet that is returned should be empty (no records) that is how every other driver that works with databases that do not have schemas works (and also how the standard is defined). Since our code is generic and works with multiple databases, we need the getSchemas() call to return the correct value (i.e. an empty result set) or at the very least then doing a subsequent call with "." as the schema name should return table results. If there is some reason that “.” needs to be returned (I frankly can’t think of any reason) then perhaps you could add a connection string property that would allow it to return the standard result set (empty) instead? We have possibly hundreds of customers that will need an Access/Excel driver through JDBC and this could be an OEM agreement for you if we can get the driver to work.
|
getCatalogs() will return multiple databases.
getSchemas() will return a role "." for a long time, because some JDBC GUI engine doesn't allow schema list is empty.
Your suggestion is welcome. That "." can be removed or replaced by other thing.
|
>at the very least then doing a subsequent call with "." as the schema name should return table results.
It can. What's your failed code?
|