Page 1 of 1

Problem with BLOB Param in Prepared Statement

Posted: Thu 19 Mar 2020 21:27
by itsds
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.

Re: Problem with BLOB Param in Prepared Statement

Posted: Fri 20 Mar 2020 12:47
by itsds
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 !

Re: Problem with BLOB Param in Prepared Statement

Posted: Wed 03 Jun 2020 14:59
by Stellar
Glad to see that the issue was resolved.
Feel free to contact us if you have any further questions about our products.