---
title: "How to insert and retrive images on MSACCESS using java?"  
description: "How to insert and retrive images on MSACCESS using java?"  
author: "Chris Anderson"  
published: 2011-09-17  
updated: 2020-09-19  
canonical: https://www.mindstick.com/interview/1269/how-to-insert-and-retrive-images-on-msaccess-using-java  
category: "ms access"  
tags: ["ms access"]  
reading_time: 1 minute  

---

# How to insert and retrive images on MSACCESS using java?

First thing we need to do is set the column type as OLE Object. While saving the data into the column of type OLE Object, save the data as byte array, while retrieving the images from the column read the value, put the value into byte array and then convert the byte array to image type and display the same.

## Answers

### Answer by Chris Anderson

First thing we need to do is set the column type as OLE Object. While saving the data into the column of type OLE Object, save the data as byte array, while retrieving the images from the column read the value, put the value into byte array and then convert the byte array to image type and display the same.


---

Original Source: https://www.mindstick.com/interview/1269/how-to-insert-and-retrive-images-on-msaccess-using-java

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
