answersLogoWhite

0


Best Answer

File file=new File("c:\\Time.jpg");
PreparedStatement ps=connection.prepareStatement("insert into Table1 (image_id, image_data) values(?,?);");
ps.setInt(0,124);
ps.setBinaryStream(1,in,(int)file.length());
ps.execute();

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you store images in Microsoft Access using Java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you store photos in a database using visual basic?

You cannot store images inside a database, you can store information about where the image is kept in a database. -Peter


What allows interaction using visual images?

GUI


How to create thumbnail images using HTML and css?

Thumbnail images can be made using HTML and CSS. HTML will import the image and CSS would give the thumbnail style.


What did Microsoft create?

Microsoft had its own version of DOS (Disk Operation System) which is a command line operating system (well sorta, it bought it originally and improved it) For more information try using a search engine and searching up the history of microsoft. (Try google)


What is a link of documents images and sounds?

Anchor tag can be used to link different elements in HTML. Documents, sounds and images all can be linked using the anchor tag.

Related questions

What skills are required in order to create a database using Microsoft Access?

To create a database using Microsoft Access, you need basic computer skills, knowledge of Microsoft Office and specifically, the Access application. You can learn how to create a database using Microsoft Access at the Office section of the official Microsoft website. Once on the page, type "How to create an Access database" into the search field at the top of the page and press enter to bring up the information.


My son's college class requires Microsoft Access How is this accomplished on a MacBook?

Microsoft Access is currently not available for Mac OS. You could try using BootCamp and installing Windows XP SP2 onto the MacBook and install Microsoft Access onto the MacBook using the Windows mode. There are other alternatives to Microsoft Access, which are designed for the Mac OS, such as FileMaker Pro. But if your son's college class requires specifically Microsoft Access, I suggest either using BootCamp to install Windows or using a Windows running computer/portable. If the requirement is only to read the Access data then Actual Technologies produce software to enable this (See links below) .


What software is commonly used for reservation information?

If your question is that , using which software you can store the information then answer is you can reserve the information in database . The database is the collection of data. This database you can create using a softwares like Microsoft access ,Oracle or Sql server .


When using Microsoft access you select an entire record by clicking on what?

by clicking grey are on the left


What type of software program is Microsoft Office Access?

Microsoft Office Access is a database management program designed by Microsoft. It is a part of the Microsoft Office suite of programs and is a powerful tool for creating and managing databases. Access allows users to store, manage, and manipulate data using tables, forms, queries, and reports. It is a user-friendly and versatile program that can be used for various purposes such as managing inventory, tracking sales, or organizing contacts. With its ability to integrate with other Microsoft Office programs, Access is an essential tool for businesses and organizations of all sizes. Overall, Microsoft Office Access is a highly functional and reliable software program for efficiently managing and organizing data. Softwarekey4u. com is an excellent website for purchasing affordable and easy-to-use upgrade keys that will allow users to upgrade their Microsoft product key without any hassle.


Can I store images in a Microsoft acceess 2002-2003 format and retrieve them later using C?

Short answer: yes.The thing is, you would have to write all the code which finds and retrieves the image yourself. This is not a function built into C.


What are the advantages of using a validation rules?

The advantage of using validation rules in Microsoft Access is that you get clean and consistent data in your database.


How do you store photos in a database using visual basic?

You cannot store images inside a database, you can store information about where the image is kept in a database. -Peter


Where can one find heart images for a Valentines's Day card?

If one is using a Microsoft program to produce a Valentine's Day card then heart images can be found on Clip Art. One may be able to find images online on sites such as Google Images.


Why large amount of Ram improve performance when editing images using an application such as Adobe?

Ram is Random Access Memory. Your computer uses this memory to store temporary files (like your undo history and your unsaved changes.)


What is Microsoft Outlook Web Access?

Microsoft Outlook Web Access is a kind of Web based Exchange Server which can only accessed by using the browser. So, in simple term there is no need of email client application like Microsoft Outlook while working in the OWA environment.


What is a database in access?

An Access database is a relational database contained in a single file that you can upload to a directory on your Web server. People typically create an Access database file using Microsoft Access or FrontPage.