Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v6.1
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.0
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.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.

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