ejb@glassfish.java.net

Re: Storing Binary Data

From: Sanjeeb Kumar Sahoo <Sanjeeb.Sahoo_at_Sun.COM>
Date: Tue, 22 Aug 2006 16:50:31 +0530

You can also use any *Serializable* object type.

Thanks,
Sahoo

Soe Moe Kyaw @ Stephen Wang wrote:
>
> 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
> <mailto:ejb-unsubscribe_at_glassfish.dev.java.net>
> For additional commands, e-mail: ejb-help_at_glassfish.dev.java.net
> <mailto:ejb-help_at_glassfish.dev.java.net>
>