当前位置:网站首页>The CLOB field cannot be converted when querying Damon database
The CLOB field cannot be converted when querying Damon database
2022-07-26 10:17:00 【shin_ cy】
problem : Table field type is text when , Format conversion error occurred on the data return page
org.springframework.http.converter.HttpMessageConversionException: Type definition error: [simple type, class dm.jdbc.util.Buffer]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class dm.jdbc.util.Buffer and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: com.gsoft.foa.common.dto.AjaxResult["data"]->java.util.ArrayList[1]->java.util.HashMap["C_CHANGELOG"]->com.alibaba.druid.proxy.jdbc.NClobProxyImpl["rawNClob"]->dm.jdbc.driver.DmdbNClob["K"]->dm.jdbc.driver.DmdbConnection["gX"]->dm.jdbc.c.a["li"])
Solution
Add parameters to the database connection clobAsString=true, for example jdbc:dm://xxx:5236/xx?clobAsString=true
边栏推荐
猜你喜欢
About automatic operation on Web pages
Learning about opencv (1)
Map key not configured and uniapp routing configuration and jump are reported by the uniapp < map >< /map > component
Uniapp common error [wxml file compilation error]./pages/home/home Wxml and using MySQL front provided by phpstudy to establish an independent MySQL database and a detailed tutorial for independent da
AirTest
Mysql5.7.25 master-slave replication (one-way)
Jpg to EPS
数据库的复习--3.SQL语言
Data communication foundation STP principle
Installation and use of cocoapods
随机推荐
句句解析js中的完美 / 缓冲运动框架(新手专用)
Uniapp common error [wxml file compilation error]./pages/home/home Wxml and using MySQL front provided by phpstudy to establish an independent MySQL database and a detailed tutorial for independent da
SQL优化的魅力!从 30248s 到 0.001s
Wechat H5 payment on WAP, for non wechat browsers
【有奖提问】向图灵奖得主、贝叶斯网络之父 Judea Pearl 提问啦
【Halcon视觉】图像的傅里叶变换
Keeping alive to realize MySQL automatic failover
Study on the basis of opencv
Jpg to EPS
Study notes of the fifth week of sophomore year
How to write a million reading article
Solve the problem of storing cookies in IE7 & IE8
数通基础-STP原理
Sublime install plug-ins
Android greendao数据库的使用
Basics of data communication - basic knowledge of network
SQL Server 2008 server engine failed to start?
Replay the snake game with C language (II) end
【C#语言】具名类型和匿名类型
Rocky basic exercise -shell script 2