Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.0
  HXTT Cobol v4.0
  HXTT DBF v7.0
  HXTT Excel v6.0
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Paradox v7.0
  HXTT PDF v1.1
  HXTT Text(CSV) v7.0
  HXTT XML v3.0
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
cannot read excel File~
eunjoo
2018-03-30 04:41:09.0
Hi.
With the version Excel_JDBC30.jar i can't read the excel file data
Executing SELECT query will result in the following exception.

However, after opening the same Excel file, SELECT QUERY works well even if you SAVE it without modifying it.

I'll send the file through mail. Please take a look and solve this issue.

version of hxtt is
[ Specification-Version: 5.0.033 on February 22, 2018
Specification-Vendor: Heng Xing Tian Tai Ltd.
Comment: JDBC 3.0 Package for MS Excel
Implementation-Version: 5.0.033 on February 22, 2018]


java.lang.ArrayIndexOutOfBoundsException: 1
at com.hxtt.sql.cm.a(Unknown Source)
at com.hxtt.sql.ae.a(Unknown Source)
at com.hxtt.sql.aj.a(Unknown Source)
at com.hxtt.sql.ea.a(Unknown Source)
at com.hxtt.f.m.if(Unknown Source)
at com.hxtt.f.b.a(Unknown Source)
at com.hxtt.f.m.if(Unknown Source)
at com.hxtt.sql.d3.a(Unknown Source)
at com.hxtt.sql.dg.byte(Unknown Source)
at com.hxtt.sql.dg.next(Unknown Source)
at org.apache.commons.dbcp2.DelegatingResultSet.next(DelegatingResultSet.java:191)
at org.apache.commons.dbcp2.DelegatingResultSet.next(DelegatingResultSet.java:191)
Re:cannot read excel File~
HXTT Support
2018-03-30 05:36:07.0
What's your jdbc url?
In my test for your sample. jdbc:excel:/D:\\test\\excel\\Amazon_Forecast_Basic_20180211.xlsx?firstRowHasNames=4

select * from sheet0

No issue.
Re:cannot read excel File~
HXTT Support
2018-03-30 05:41:02.0
BTW, I'm using the latest package in yesterday.

Search Key   Search by Last 50 Questions




Google
 

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