String truncation in TUniLoader with InterBase backend

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ael
Posts: 33
Joined: Mon 12 Sep 2011 14:54

String truncation in TUniLoader with InterBase backend

Post by ael » Tue 15 Oct 2013 08:16

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.

AndreyZ

Re: String truncation in TUniLoader with InterBase backend

Post by AndreyZ » Tue 15 Oct 2013 10:14

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.

ael
Posts: 33
Joined: Mon 12 Sep 2011 14:54

Re: String truncation in TUniLoader with InterBase backend

Post by ael » Tue 15 Oct 2013 11:26

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

AndreyZ

Re: String truncation in TUniLoader with InterBase backend

Post by AndreyZ » Tue 15 Oct 2013 14:56

Thank you for the information. I have reproduced and fixed this problem. This fix will be included in the next UniDAC build.

ael
Posts: 33
Joined: Mon 12 Sep 2011 14:54

Re: String truncation in TUniLoader with InterBase backend

Post by ael » Tue 15 Oct 2013 14:58

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).

AndreyZ

Re: String truncation in TUniLoader with InterBase backend

Post by AndreyZ » Wed 16 Oct 2013 06:00

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 .

ael
Posts: 33
Joined: Mon 12 Sep 2011 14:54

Re: String truncation in TUniLoader with InterBase backend

Post by ael » Wed 16 Oct 2013 06:14

Will do, thanks!

AndreyZ

Re: String truncation in TUniLoader with InterBase backend

Post by AndreyZ » Wed 16 Oct 2013 07:41

I have sent you the fix.

Post Reply