Update Memo with NULL --> Error

Given this definition:

  [Column('Notiz', [TColumnProp.Lazy])]
    [DBTypeWideMemo]
    FNotiz: TBlob; 

When I update the table and NOTIZ is set to NULL, I get an error:

Im Projekt RezeptSchnittstelle.exe ist eine Exception der Klasse EAureliusOdbcException mit der Meldung 'Error -1: [Microsoft][ODBC Driver 11 for SQL Server]Invalid precision value' aufgetreten.

Below is the SQL as well as the Values:

Debug-Ausgabe:
[14.01.2020 13:51:26][Trace][Value: UPDATE TBLXMLImport SET
  HerkunftCD = :A_HerkunftCD,
  LebensmittelCD = :A_LebensmittelCD,
  Bezeichnung = :A_Bezeichnung,
  Modus = :A_Modus,
  Notiz = :A_Notiz
WHERE ID = :p_5][Type: string]
Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: A_HerkunftCD = "BLS3.02" (ftString)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: A_LebensmittelCD = "K718100" (ftString)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: A_Bezeichnung = "Steinpilz roh" (ftString)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: A_Modus = "M" (ftString)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: A_Notiz = NULL (ftWideMemo)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: p_5 = "5" (ftInteger)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Erste Gelegenheit f?r Exception bei $759720D2. Exception-Klasse EAureliusOdbcException mit Meldung 'Error -1: [Microsoft][ODBC Driver 11 for SQL Server]Invalid precision value'. Prozess RezeptSchnittstelle.exe (6040)

What is the Problem here?

Thanks!

The problem is a bug in MSSQL native driver.

Thank you for reporting, we have fixed this here in the meanwhile, next release will include the fix.
Ah, good. There are some other problems, that seem to be related.

BTW: When I additionally use a TADOConnection and switch the AureliusConnection to use Adapter-Mode, things work ok.

So, while this is a workaround, it would be graet to get a patch. Is this possible?

Yes, the problem is specific to the MSSQL native driver.

Please contact us directly via e-mail to get a patch before the release.