尝试使用blob数据类型将图像添加到数据库 [英] Trying to use a blob data type to add an image to a database

查看:78
本文介绍了尝试使用blob数据类型将图像添加到数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在尝试构建一个crud应用程序来为组织成员加载名称,地址和图片数据。我已经设置了数据库,但是当我运行应用程序时,我得到blob数据的空转换器错误。我需要做些什么来使应用程序工作。如果需要更多信息,我可以发送或发布申请。

I am currently trying to build a crud application to load name, address and picture data for members of an organization. I have the database set up, but when I run the application I get a null converter error for the blob data. What do I need do to get the application to work. I can send or post the application if more information is needed.

推荐答案

我正在尝试构建一个crud应用程序

你想用什么语言做这个?


我得到blob数据的空转换器错误

你可以复制一块代码在这里,加上确切的错误消息....
"I am currently trying to build a crud application"
In what language are you trying to do this?

"I get a null converter error for the blob data"
can you copy a piece of the code here, plus the exact error message(s)....


我正在使用java。我将使用我的笔记本电脑并运行应用程序,以便我可以复制一些代码,因为我正在开发我的应用程序。
I am using java. I will get on my laptop and run the application so I can copy some code as that is where I am developing my application.


对不起,这花了很长时间,我的笔记本电脑崩溃了,我需要解决它。这是我的应用程序中的一些代码。

Sorry this took so long, my laptop crashed and I needed to get it fixed. here is some code from my application.

展开 | 选择 | Wrap | 行号


这篇关于尝试使用blob数据类型将图像添加到数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆