当前位置:网站首页>Update更新 bytea类型失败 PostGresql
Update更新 bytea类型失败 PostGresql
2022-06-11 10:36:00 【CSDN问答】
图片上传,保存到DB(postgresql)中,DB中的类型为bytea,图片插入的时候,把图片转成byte[]型,插入DB,没有问题。
但是更新的时候,传入的图片仍为byte[]型,更新没有成功,DB中bytea项目里被更新成NULL。
麻烦请教各位,更新的时候,改怎样更新bytea类型的项目?谢谢。
update Stu
STATUS = #{status},
image = #{image},
name= #{name}
where id= #{stuid}
边栏推荐
- 详述用网络分析仪测量DC-DC和PDN
- Unity字体间距
- MySQL基础篇常用约束总结上篇
- Cloud image quality assistant IAPP source code
- C # introductory series (11) -- multidimensional array
- NGUI,飘血
- Differences between beanfactory and factorybean
- Waiting event enq: Ko - some feasible processing methods for fast object checkpoint
- Série de démarrage C # (XI) - - tableaux multidimensionnels
- Data consistency
猜你喜欢

金仓数据库KingbaseES中的sys_checksums坏块检测功能

MySQL基础篇常用约束总结下篇

Summary of common constraints in MySQL foundation part I

Kingbasees create database objects in batch

Arbitrum 基础架构:快速入门

远程监控项目离线日志说明书

Explain the physical layer consistency test of 2.5g/5g/10g Base-T Ethernet interface in detail!

Cloud development MBTI personality type test assistant wechat applet source code

MySQL foundation part common constraints summary part 2

概率论:计算置信区间
随机推荐
Campus lost and found applet source code can be used for graduation design
Ngui, select gender male and female
Leetcode 1952. 三除数
Use of JMeter (simulating high concurrency)
Excellent test engineer must have 4 safety test methods!
Development and source code construction of digital collection system
RSA signature issues
Ngui, map zoom in and out
使用 Feign 实现声明式 REST 调用
Using ribbon to realize client load balancing
Pyspark case series 4-dataframe output to a single folder solution
GameFi:您需要了解的关于“即玩即赚”游戏经济的一切
Use bat to write to the first line of the file
Online files are not transferred to Base64
Finite cyclic group
Pl/sql compilation check in kingbasees
Cadence OrCAD capture design method to avoid misoperation graphic tutorial
minIni移植到littlefs
金仓数据KingbaseES 批量创建数据库对象
C+ daily exercises (15)