Hmm... Maybe, making column "PROPERTY_VALUE" of type BLOB would be better
decision? Because there can be preference with big length. And length of
preference doesn't limited in JSR-168 specification. How do you think?

2006/10/3, David Sean Taylor <[EMAIL PROTECTED]>:

Vitaly Baranovsky wrote:
> Good day!
>
> I've written html-portlet, which simply shows html entered in edit mode.
> But
> when I enter text in textarea with more than 254 symbols length, I have
> javax.portlet.PortletModeException when store this text in preference.
>
> How can I write portlet that stores long text (more than 254 symbols
> length)?
>
Thats the limit on our db schema.
See the prefs schema:

        <column name="PROPERTY_VALUE" size="254" type="VARCHAR"/>

A quick fix: alter the column size in your database (if your database
supports larger column sizes on varchar columns)

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


Reply via email to