Page 1 of 1

String truncation in TUniLoader with InterBase backend

Posted: Tue 15 Oct 2013 08:16
by ael
Hello,

Are you already aware of the regression with TUniLoader in UniDAC 5.1 with InterBase databases (strings truncation) or should I submit a test case?

Basically when using a TUniLoader with Firebird (embedded) 2.5.2 databases any string field is truncated.

The first field seems to be quite random, sometimes after 6 characters, sometimes after 3, and the second field is truncated after 1 character.

Re: String truncation in TUniLoader with InterBase backend

Posted: Tue 15 Oct 2013 10:14
by AndreyZ
Hello,

I cannot reproduce the problem. Please specify the following:
- the script to create a table you are using in TUniLoader;
- the exact version of your IDE.

Re: String truncation in TUniLoader with InterBase backend

Posted: Tue 15 Oct 2013 11:26
by ael
The script is as follows:

Code: Select all

CREATE TABLE t_gsi (
  gsi_id INTEGER NOT NULL, 
  gsi_so DOUBLE PRECISION default 0,
  gsi_ismod VARCHAR(32) default NULL,
  gsi_isfra VARCHAR(6) default NULL,
  gsi_pos INTEGER NOT NULL, 
  PRIMARY KEY(gsi_id)
);
CREATE DESCENDING INDEX IDX_DESC_T_GSI1 ON t_gsi(gsi_id);
CREATE SEQUENCE t_gsi_Gen;
We are using Delphi XE5 19.0.13476.4176 with UniDAC 5.1.4.

I have uploaded a sample project here:
http://www.drillscan.com/clients/Unidac_testcase.rar

Re: String truncation in TUniLoader with InterBase backend

Posted: Tue 15 Oct 2013 14:56
by AndreyZ
Thank you for the information. I have reproduced and fixed this problem. This fix will be included in the next UniDAC build.

Re: String truncation in TUniLoader with InterBase backend

Posted: Tue 15 Oct 2013 14:58
by ael
Glad to hear it!

Do you have an estimate date for the next release? I was able to workaround the last issue related to AutoCommit, but this one is pretty much blocking for us (unless you have a workaround in the meantime).

Re: String truncation in TUniLoader with InterBase backend

Posted: Wed 16 Oct 2013 06:00
by AndreyZ
Most probably, we will release UniDAC next month. But if you need this fix as soon as possible, I can send you a custom UniDAC build with this fix. Please send your UniDAC license number to andreyz*devart*com .

Re: String truncation in TUniLoader with InterBase backend

Posted: Wed 16 Oct 2013 06:14
by ael
Will do, thanks!

Re: String truncation in TUniLoader with InterBase backend

Posted: Wed 16 Oct 2013 07:41
by AndreyZ
I have sent you the fix.