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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 3775

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
 
Similar Threads
interview question
JSP - SQLServer
How to store Objects in Database?
how to store object in a table
how to convert byte[] to blob