当前位置:网站首页>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
边栏推荐
- Force deduction DFS
- Vectortilelayer replacement style
- Li Kou - binary tree pruning
- Learning about opencv (4)
- Basics of data communication - basic knowledge of network
- Sublime install plug-ins
- How to use Gmail to pick up / send mail on Foxmail
- 【Halcon视觉】形态学膨胀
- Some descriptions of DS V2 push down in spark
- PHP one-time request lifecycle
猜你喜欢

Draw arrows with openlayer

Necessary for beginners: debug breakpoint debugging skills in idea and common breakpoint skills

Learning about opencv (3)

Distributed network communication framework: how to publish local services into RPC services

新建福厦铁路全线贯通 这将给福建沿海带来什么?

Basics of data communication - basic knowledge of network

【Halcon视觉】形态学膨胀

AirTest

Server memory failure prediction can actually do this!

Employee information management system based on Web
随机推荐
30 minutes to thoroughly understand the synchronized lock upgrade process
Tableviewcell highly adaptive
Docker configuring MySQL Cluster
Map key not configured and uniapp routing configuration and jump are reported by the uniapp < map >< /map > component
在.NET 6.0中配置WebHostBuilder
Uni app learning summary
Learning about opencv (3)
Some descriptions of DS V2 push down in spark
Vs2019 configuring opencv
【Halcon视觉】阈值分割
【Halcon视觉】图像灰度变化
Yarn 'TSC' is not an internal or external command, nor is it a runnable program or batch file. The problem that the command cannot be found after installing the global package
Review of database -- 1. Overview
Use of pclint in vs2013
Basics of data communication - basic knowledge of network
Study notes of the first week of sophomore year
The charm of SQL optimization! From 30248s to 0.001s
MySQL function
SPARK中 DS V2 push down(下推)的一些说明
About automatic operation on Web pages