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
BLOB versus clob
Joined: Aug 09, 2004
Oct 07, 2004 12:43:00
I have a
which I need to store it into the Database. I am right now using BLOB datatype by serializing the
. Could anybody suggest if we can use CLOB instead of BLOB?
Joined: Sep 23, 2004
Oct 07, 2004 16:21:00
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.
<a href="http://forums.hotjoe.com/forums/list.page" target="_blank" rel="nofollow">Java forums using Java software</a> - Come and help get them started.
It is sorta covered in the
JavaRanch Style Guide
subject: BLOB versus clob
Need to save a paragraph in database.
what is Blob and Clob?
how to download a zip file from database?
Image insertion into database through JPA
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014