Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.253
  HXTT Cobol 5.0.252
  HXTT DBF 7.1.253
  HXTT Excel 6.1.256
  HXTT Json 1.0.224
  HXTT Paradox 7.1.252
  HXTT PDF 2.0.252
  HXTT Text(CSV) 7.1.252
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Word 1.1.252
  HXTT XML 4.0.253
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 Text(CSV)
Strange error message
Remco Schoen
2009-10-28 05:15:37
I'm running a test to see how the driver handles wrong values in a column, for instance a string in a column with doubles.

I get this error:
Failed to go Record 40 of table number_not! For more information, please use SQLException.getNextException().
Failed to get an int value from [B: A

A is the string value, but what does "[B" mean? Should it be the column name or number?

Kind regards,

Remco Schoen
Re:Strange error message
HXTT Support
2009-10-29 04:39:18
>A is the string value, but what does "[B" mean? Should it be the column name
>or number?
It's a byte[] object. You can use ignoreDirtyData=true connection property to skip your wrong values.
Re:Re:Strange error message
Remco Schoen
2009-10-30 03:49:43
Okay, so the string "[B" stands for a byte[] object and not for a column indication. Is it possible to give information about the column at this stage?

We are testing to see what the driver does with wrong values. The ODBC driver from Microsoft just ignores these values, but we like to see them, so we can say to our customer that they have wrong values in their text-files.
Re:Re:Re:Strange error message
HXTT Support
2009-10-31 06:58:52
>>[B: A
>Is it possible to give information about the column at this stage?
[B means a byte[] object, A is the friendly string value. It wish an int value, but found a 'A' wrong value.
Re:Re:Re:Strange error message
HXTT Support
2009-10-31 07:06:15
>Is it possible to give information about the column at this stage?
Yeah. The latest package will prompt column, row, value inforamtion for wrong value.
Re:Re:Re:Re:Re:Strange error message
HXTT Support
2009-11-01 04:03:03
You can download the latest package now.
Re:Re:Re:Re:Re:Re:Strange error message
Remco Schoen
2009-11-02 01:58:10
Cool, it works, we get a user friendly message now.

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 | Sitemap