Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v4.2
  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 DBF
Problem reading DBF File
Martin Ross
2006-03-20 00:00:00.0
I have a DBF table with 38761 rows.
select count(*) from history returns this number of rows.

select * from history generates an error messsage 'Statement failed'

SELECT top 2696 * FROM history returns the first 2996 rows but
SELECT top 2697 * FROM history generates the 'Statement failed' error message


The schema for the table (according to Aqua)
DATE DATE(8)
TYPE VARCHAR(1)
FILE_NAME VARCHAR(12)
PROV_GROUP VARCHAR(4)
PROV_NUM VARCHAR(6)
SUBMISSION NUMERIC(9)
ADJUSTMENT NUMERIC(9)
REMITTANCE NUMERIC(9)
C_FLAG VARCHAR(1)


Please let me know....

Thanks,

Martin
Re:Problem reading DBF File
HXTT Support
2006-03-20 00:00:00.0
You can try:
catch (SQLException sqle) {
do {
System.out.println(sqle.getMessage());
System.out.println("Error Code:" + sqle.getErrorCode());
System.out.println("SQL State:" + sqle.getSQLState());
sqle.printStackTrace();
}
while ( (sqle = sqle.getNextException()) != null);
}

to see the detailed exception message.

I tested those sqls with 131072 rows with the same table structure, but failed to recur your issue. It seems that HXTT DBF failed to read the row of 2697 for unknown reason.


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