wood burning stoves 2.0*
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
Author

ArraryList to Blob

Vinay Kr. Sharma
Greenhorn

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
Bartender

Joined: Mar 24, 2008
Posts: 3838

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

And welcome to the CodeRanch!


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ArraryList to Blob