Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

HXTT Excel
Problem with current driver (2015-10-21 07:06)
Chi Thien Phan
2015-10-27 00:04:28.0
hi,

the driver Excel_JDBC30.jar 4.2.044 on March 02, 2015 gives correct data from sql statement. But the current driver on 2015-10-21 07:06 gives empty data from the same sql statement. Pls fix it! Thx

PS: the excel file Demodaten_Doku_GanttBean.xlsx will be sent to your mail.

Java-Example-Code:
--------------------------------------

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;

public class HTXX_Excel {
public static void main(String[] args) {
try {
Class.forName("com.hxtt.sql.excel.ExcelDriver");
Connection conn = DriverManager.getConnection("jdbc:excel:/Demodaten_Doku_GanttBean.xlsx?maxScanRows=0&caseInsentive=true&delayedClose=0");

String query = "select Nachfolger, Relationstyp, Vorg��nger from Relation where Nachfolger=399649806 or Vorg��nger=399649806 or Nachfolger=399649805 or Vorg��nger=399649805 or Nachfolger=399649807 or Vorg��nger=399649807";
Statement stmt = conn.createStatement();
ResultSet resultSet = stmt.executeQuery(query);
resultSet.getMetaData();

while (resultSet.next()) {
System.out.println("-------------------------------------");
for(int i = 1; i < 2; i++){
System.out.println(resultSet.getObject(i));
}
}
resultSet.close();
stmt.close();
conn.close();
} catch (Exception e) {
e.printStackTrace();
}
}
}
--------------------------------------
Re:Problem with current driver (2015-10-21 07:06)
HXTT Support
2015-10-28 01:17:05.0
Supported. Please downlosd the latest package.
Re:Re:Problem with current driver (2015-10-21 07:06)
Chi Thien Phan
2015-10-28 23:46:50.0
thx, it works fine now!

Search Key   Search by Last 50 Questions




Google
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap