Excellent, Scott ... thanks!

> -----Ursprungliche Nachricht-----
> Von: Scott Eade [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 18. Februar 2003 23:06
> An: turbine-user
> Betreff: Re: how to map textarea -> intake field __ -> column-type blob
>
>
> Marc,
>
> Declare the column as type="LONGVARCHAR" in your schema.  This creates a
> MEDIUMTEXT column in the database which should be adequate for most
> purposes.
>
> HTH,
>
> Scott
> --
> Scott Eade
> Backstage Technologies Pty. Ltd.
> http://www.backstagetech.com.au
> .Mac Chat/AIM: seade at mac dot com
>
>
>
> On 19/02/2003 3:15 AM, "Marc Lustig" <[EMAIL PROTECTED]> wrote:
>
> >
> > The content supplied by a textarea-field might be larger than 255
> > characters. Therefore I used column type "blob" for the corresponding
> > table-field. (MySQL)
> >
> > Now I want Intake to map this using group.setProperties(bo).
> > In the group-field I specified type="String".
> >
> > This results in:
> >
> > java.lang.Thread.run(Thread.java:536) Caused by:
> > org.apache.turbine.util.TurbineException: An exception
> prevented the setting
> > property Fussa of de.geoconnect.audiotex.om.AbrechnungLayout@1f to c:
> > argument type mismatch at
> >
> org.apache.turbine.services.intake.model.Field.setProperty(Field.java:633)
> > at
> >
> org.apache.turbine.services.intake.model.Group.setProperties(Group
.java:382)
> > at
> >
> >
> > I wonder what else intake-field-type to use for a proper mapping.
> >
> > Anybody having solved a scenario like this?
> > It's not really unusual.
> >
> > Marc
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to