Sorry, I don't have any experience with TEXT fields in MySQL.
On Wed, Dec 09, 2009 at 07:16:53AM -0800, Franzisk wrote:
>
> Yes, my text is very long (it might be) and I need (ex: in MySQL TEXT field).
>
> Where this Clob comes from?
>
> I dont have it here in my TopLink.
>
>
> Wouter van Reeven wrote:
> >
> > You don't have to do anything for that. Unless your text String is too
> > long for the data type of the column to which you mapped your String
> > member. In that case you need another data type on the column, e.g.
> > clob.
> >
> >
> > HTH, Wouter
> >
> > On Wed, Dec 09, 2009 at 07:04:49AM -0800, Franzisk wrote:
> >>
> >> How do I annotate an attribute in my entity which will have long text?
> >> (some
> >> text with several lines).
> >>
> >> I have this:
> >> @Column(name = "OBSERVATION")
> >> public String getObs() {
> >> return obs;
> >> }
> >>
> >> --
> >> View this message in context:
> >> http://old.nabble.com/How-to-annotate-TEXT-field--tp26711703p26711703.html
> >> Sent from the java.net - glassfish persistence mailing list archive at
> >> Nabble.com.
> >
> > --
> > Freeze without an answer
> > Free from all the shame
> > Must I hide?
> > Cause I'll never
> > Never sleep alone
> > [Mars Volta - The Widow]
> >
> > Skype: wvreeven
> > Facebook: wvreeven
> > Twitter: wvreeven
> >
> >
>
> --
> View this message in context: http://old.nabble.com/How-to-annotate-TEXT-field--tp26711703p26711862.html
> Sent from the java.net - glassfish persistence mailing list archive at Nabble.com.
--
Home is not where you live but where they understand you.
[Christian Morgenstern]
Skype: wvreeven
Facebook: wvreeven
Twitter: wvreeven