• Post Reply Bookmark Topic Watch Topic
  • New Topic

Storing HashMap or TreeMap in a BLOB Column

 
Surya Ram
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Could anybody give some codesnippets of inserting a HashMap or TreeMap into BLOB Oracle COLUMN.

Thanks for your help
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35709
408
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Surya,
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!