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
Excel file will be corrupted after row modifying
Chi Thien Phan
2015-03-03 03:52:41.0
Hi,

my excel file is corrupted after executing an update statement like below:

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

String query = "UPDATE MDE SET Bemerkung=? WHERE lfd = 65";
PreparedStatement insertStm = conn.prepareStatement(query);
insertStm.setString(1, "��837����Hg");
insertStm.executeUpdate();
insertStm.close();

conn.close();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}



PS: i will send my excel file via mail
thx
Re:Excel file will be corrupted after row modifying
HXTT Support
2015-03-03 04:52:26.0
Checked. It seems be a fixed bug, and you should download the latest package.
Re:Re:Excel file will be corrupted after row modifying
Chi Thien Phan
2015-03-16 00:06:24.0
thx for new version!

is it possible to find the path like c:\test\excel.xlsx of excel file that is used in hxtt-driver?

thx
Re:Re:Re:Excel file will be corrupted after row modifying
Chi Thien Phan
2015-03-19 02:06:06.0
any ideas?
Re:Re:Re:Re:Excel file will be corrupted after row modifying
HXTT Support
2015-03-19 03:57:41.0
>is it possible to find the path like c:\test\excel.xlsx of excel file that is used in hxtt-driver?

What's your want result? If you wish to know the xlsx file at jdbc:excel:/c:/test , you can try
DatabaseMetaData dbmd = con.getMetaData();
ResultSet rs=dbmd.getCatalogs();

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