wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes storing large image in a variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "storing large image in a variable" Watch "storing large image in a variable" New topic
Author

storing large image in a variable

abhinas raj
Ranch Hand

Joined: Jun 02, 2012
Posts: 47
in java how to store images of large size (greater than 200 kb) in a variable .

i want to store the image in database using Hibernate , that's why in persistence class i need to define the datatype of the image.
then i wnted to transfer the image from one page to another page . please help me . thanks
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30085
    
149

A BinaryStream is a common choice.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: storing large image in a variable
 
Similar Threads
store an image to database and also retrieve
Image resizing, compressing before storing on file system
Performance issue with large data(such as images)
Uploading a Image
Image Databases