File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Storing HashMap or TreeMap in a BLOB Column
Joined: Aug 09, 2004
Aug 09, 2004 23:36:00
Could anybody give some codesnippets of inserting a HashMap or TreeMap into BLOB Oracle COLUMN.
Thanks for your help
author & internet detective
Joined: May 26, 2003
Aug 10, 2004 18:06:00
You can create a Blob by creating a BinaryStream or byte with your data. So you would loop through the datastructure and write it out to a stream.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: Storing HashMap or TreeMap in a BLOB Column
Sort a Map on the <Key>.
how to store an image into the DataBase using oracle database
Can an array be used as a HashMap Key?
a collection thats not an instance of a collection class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014