Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.258
  HXTT Cobol 5.0.257
  HXTT DBF 7.1.259
  HXTT Excel 6.1.261
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Json 1.0.229
  HXTT Paradox 7.1.257
  HXTT PDF 2.0.257
  HXTT Text(CSV) 7.1.257
  HXTT Word 1.1.257
  HXTT XML 4.0.258
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT Excel
Excel HXTT driver getSchemas() returns invalid schema list
Andrew Clark
2015-04-08 07:12:07
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.
Re:Excel HXTT driver getSchemas() returns invalid schema list
HXTT Support
2015-04-08 08:46:34
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.
Re:Re:Excel HXTT driver getSchemas() returns invalid schema list
HXTT Support
2015-04-08 08:48:34
>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?

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Refund | Sitemap