Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.277
  HXTT Cobol 5.0.275
  HXTT DBF 7.1.277
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel 6.1.279
  HXTT Json 1.0.247
  HXTT Paradox 7.1.275
  HXTT PDF 2.0.275
  HXTT Text(CSV) 7.1.275
  HXTT Word 1.1.275
  HXTT XML 4.0.276
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 DBF
UPPER function converts characters which might change length of field
Christian Metzner
2019-09-03 05:12:07
Hi, when I use UPPER function on DBF database to create an index I get an exception:

java.sql.SQLException: Failed to insert a new record into table ###:Failed to insert new record into table ### because of duplicate key or corrupted index file:An unknown error when insert: keyLength is 40 but the value length is 41

My example is german character "��" that is converted to "ss" and changes the length of the field. I'm using Spring JPA and Hibernate as database connection with charSet=Cp1252 in url property. Currently I don't see any other character that is affected.

HXTT-Lib:
Specification-Title: HXTT DBF JDBC 4.3 Package
Specification-Version: 7.0.028 on August 29, 2019

Do you see any chance to get that issue fixed?
Re:UPPER function converts characters which might change length of field
HXTT Support
2019-09-03 06:23:49
Fixed. It will be upload in 2 hours.

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