This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • 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: 34401
346
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic