Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.131
  HXTT Cobol 5.0.131
  HXTT DBF 7.1.132
  Buy Now
  HXTT Excel 6.1.135
  HXTT Json 1.0.103
  HXTT Paradox 7.1.131
  HXTT PDF 2.0.131
  HXTT Text(CSV) 7.1.131
  HXTT Word 1.1.131
  HXTT XML 4.0.132
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)

UPPER function converts characters which might change length of field
Christian Metzner
2019-09-03 05:12:07.0
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.

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.0
Fixed. It will be upload in 2 hours.

Search Key   Search by Last 50 Questions


Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap