File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes ArraryList to Blob Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "ArraryList to Blob" Watch "ArraryList to Blob" New topic

ArraryList to Blob

Vinay Kr. Sharma

Joined: Jan 26, 2012
Posts: 1
How can we insert ArrayList data into database where column is define as Blob type using Struts2 and Hibernate3.5?
Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3902

Check the various methods like createBlob(byte[], Session) which Hibernate provides to suit your requirement.

And welcome to the CodeRanch!

[How to ask questions] [Twitter]
I agree. Here's the link:
subject: ArraryList to Blob
It's not a secret anymore!