DavidNDuffy wrote:
Quote:
and use Blob in my code (something I would like to avoid)
What's wrong with Blob? I think that is the only way you are going to be able to store a Gig of binary data. After all, a Blob is just binary data effectively is it not?
It depends what kind of blob field you have and what you want to do with the blob field. In the database a blob field is quite different in comparision to "ordinary" fields like int, char, varchar. Blobs are usually saved in different locations with different storage methods, use different buffer management, are manipulated different, are different between databases etc.
I would not use blobs with hibernate unless I know
exactly how hibernate handles blobs. There are quite a bit of concepts how to deal with blobs
efficiently that are not avaliable with hibernate (e.g. locator).
ciao
Sven