aspose file tools*
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
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: 29241
    
139

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
Image resizing, compressing before storing on file system
Performance issue with large data(such as images)
store an image to database and also retrieve
Image Databases
Uploading a Image