Skip to content

update jsonb格式的数据报错 #2213

@rogerhesong

Description

@rogerhesong

问题描述及重现代码:

[Column(Name = "condition_detail", DbType = "json"),JsonMap]
public string ConditionDetail { get; set; }


repo.UpdateAsync报错

// c# code

数据库版本

金仓数据库:V008R006C009B0014

安装的Nuget包

FreeSql.Provider.KingbaseES

.net framework/. net core? 及具体版本

net 8

报错详情:
"InnerException":{"Type":"Kdbndp.KingbaseException", "Severity":"ERROR", "SqlState":"XX000", "Code":"XX000", "MessageText":"unsupported jsonb version number 91", "Position":0, "InternalPosition":0, "File":"kdb_jsonb.c", "Line":"209", "Routine":"jsonb_recv", "Message":"XX000: unsupported jsonb version number 91", "IsTransient":false, "Data":{"Severity":"ERROR","SqlState":"XX000","Code":"XX000","MessageText":"unsupported jsonb version number 91","File":"kdb_jsonb.c","Line":"209","Routine":"jsonb_recv"}, "ErrorCode":-2147467259, "TargetSite":"Void MoveNext()", "Source":"Kdbndp", "HResult":-2147467259, "StackTrace":" at Kdbndp.KdbndpConnector.<>c__DisplayClass168_0.<g__ReadMessageLong|0>d.MoveNext()\n--- End of stack trace from previous location ---\n at Kdbndp.KdbndpConnector.

通过于官方沟通,Kdbndp.dll使用 9.3.8.0129测试没有问题,freesql目前使用的9.3.7.1030,希望更新下

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions