Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BLOB versus clob

 
Surya Ram
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a TreeMap which I need to store it into the Database. I am right now using BLOB datatype by serializing the TreeMap. Could anybody suggest if we can use CLOB instead of BLOB?

Thank you,
 
Scott Dunbar
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, I think you're doing the correct thing using a CLOB. There is binary data in a serialize Java class and you don't want the DB doing some character conversion for you when you least expect it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic