Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / November 2004

Tip: Looking for answers? Try searching our database.

clob

Thread view: 
Ike - 21 Nov 2004 14:58 GMT
Can someone tell me what a clob is, and how it differs from a blob? I am
about to write a document retrieval system using MySql Connector / J, and am
wondering what data type I should use for saving files which can vary
greatly in size, some of which can be a few megs even.

Thanks, Ike
Dieter Bender - 21 Nov 2004 19:16 GMT
Ike,

Blob is never translated, while clob might be transalted from one Codepage
to another.

Dieter Bender

> Can someone tell me what a clob is, and how it differs from a blob? I am
> about to write a document retrieval system using MySql Connector / J, and
> am wondering what data type I should use for saving files which can vary
> greatly in size, some of which can be a few megs even.
>
> Thanks, Ike
Murray - 22 Nov 2004 00:32 GMT
> Can someone tell me what a clob is, and how it differs from a blob? I am
> about to write a document retrieval system using MySql Connector / J, and
[quoted text clipped - 3 lines]
>
> Thanks, Ike

In general:

CLOBs are for character data, i.e. big strings, text files, XML, Base64 (or
other) encoded binary files etc.

BLOBs are for binary data.

Sounds like you'd want BLOBs unless you're only dealing with text files.
Ike - 22 Nov 2004 01:21 GMT
Can blobs handle data > 64 k in MySql Connector / J ? Thanks, Ike

> > Can someone tell me what a clob is, and how it differs from a blob? I am
> > about to write a document retrieval system using MySql Connector / J, and
[quoted text clipped - 12 lines]
>
> Sounds like you'd want BLOBs unless you're only dealing with text files.
Murray - 22 Nov 2004 02:00 GMT
> Can blobs handle data > 64 k in MySql Connector / J ? Thanks, Ike

In my experience: yes. Thought it might depend on the version. Why don't you
try it?


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.