Problem with BLOB Param in Prepared Statement

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
itsds
Posts: 37
Joined: Mon 30 Apr 2007 10:38
Location: Germany - Bochum
Contact:

Problem with BLOB Param in Prepared Statement

Post by itsds » Thu 19 Mar 2020 21:27

Hi i use mORMot with SynDBUniDAC and get the following Problem:

https://synopse.info/forum/viewtopic.ph ... 428#p31428

Here i store BLOB Data with a prepared Statement. the Blob Value is set with Param.SetBlobData
Everytime the prepared Update is called, the "First" BLOB Value is taken as you can see in the Screen.

Pls read my Forum Post in Synopse Forum

tyvm

Please Contact me for further Information.

itsds
Posts: 37
Joined: Mon 30 Apr 2007 10:38
Location: Germany - Bochum
Contact:

Re: Problem with BLOB Param in Prepared Statement

Post by itsds » Fri 20 Mar 2020 12:47

Solved - It was an Error in mORMot.

You have override TParam with TDAParam and the wrong SetBlobData (TParam.SetBlobData) was called instead of your TDAParam.SetBlobData !

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: Problem with BLOB Param in Prepared Statement

Post by Stellar » Wed 03 Jun 2020 14:59

Glad to see that the issue was resolved.
Feel free to contact us if you have any further questions about our products.

Post Reply