ejb@glassfish.java.net

Re: Storing Binary Data

From: Soe Moe Kyaw _at_ Stephen Wang <swmk.stephen_at_gmail.com>
Date: Tue, 22 Aug 2006 15:40:46 +0630

If the size is too big that doesn't fit byte[]? What shall I do?

--
Regards;
Soe Moe Kyaw @ Stephen Wang
On 8/21/06, Sanjeeb Kumar Sahoo wrote:
You can use *byte[]* as Java field type and annotate it as
@javax.persistence.Lob.
Sahoo
 Soe Moe Kyaw @ Stephen Wang wrote:
> Hi, all,
>
> I want to store binary data (such as photo and documents) using Entity
> Beans and which datatype do I have to use for that field.
>
> --
> Regards;
> Soe Moe Kyaw @ Stephen Wang
 ---------------------------------------------------------------------
To unsubscribe, e-mail: ejb-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: ejb-help_at_glassfish.dev.java.net