Page 1 of 1

Support for field type BIGINT with firebird

Posted: Tue 27 Oct 2020 14:47
by wiglan
Hi,

I am migrating my dbexpress connection driver to DevArt, to use with firebird 2.5.9.

My problem is not getting support for BIGINT type fields. When I use fields with this type I get the error message:

---------------------------
Debugger Exception Notification
---------------------------
Project cde_win_pat.exe raised exception class EDatabaseError with message 'sqlCadastro: Type mismatch for field' VIDA_UTIL_TRANSF_PAT_PRINC ', expecting: LargeInt current: Float'.
---------------------------
Break Continue Help
--------------------------- `

I am using Delphi Xe8 as a compiler.

How should I proceed for a correction?

thank you!

Re: Support for field type BIGINT with firebird

Posted: Thu 29 Oct 2020 11:33
by oleg0k
Hello,
Unfortunately, we couldn't reproduce the issue.
Please send us an example that uses dbExpress and IbDAC and demonstrates the incorrect behavior, along with DDL scripts for creating and populating the database objects (or the backup file/database file).
Please send them through the form on our website: https://devart.com/company/contactform.html

wbr, Oleg
Devart Team

Re: Support for field type BIGINT with firebird

Posted: Thu 29 Oct 2020 13:12
by wiglan
I forwarded to you how to reproduce the error, however, I was unsure if I opened the topic in the right place, would it be on this forum or is there another area for delphi + firebird?

if I did it wrong, I apologize, I can open the topic in the right place.

Re: Support for field type BIGINT with firebird

Posted: Fri 30 Oct 2020 16:25
by oleg0k
Hello,
The topic is correct; however, we haven't received any examples from you yet. Please try to send it again.

wbr, Oleg
Devart Team

Re: Support for field type BIGINT with firebird

Posted: Fri 30 Oct 2020 20:32
by wiglan
I sent a new request from the members area like you asked.

My e-mail is [email protected].

The attached file show the problem very detailed.

Is it possible to attach files on the forum's topics?

Thank you!

Re: Support for field type BIGINT with firebird

Posted: Wed 04 Nov 2020 10:07
by oleg0k
Hello,
You should add the EnableLargeint=True parameter to the Params of your SQLConnectionDevArt component and then update the list of fields in respective DataSet components.
You can learn about field mapping in the Type map section of the Readme.html, which is located in %DBXIB%\ (the installation folder of Devart dbExpress Driver for InterBase and Firebird).

wbr, Oleg
Devart Team

Re: Support for field type BIGINT with firebird

Posted: Wed 04 Nov 2020 14:14
by wiglan
Perfect.

I added the param that you said and it worked.

Thanks!

problem's solved.