I have changed type of field "PROPERTY_VALUE" in my portal database to CLOB(1048676), but my error still the same when I enter big text in my portlet: "Exception invoking listener method doAction of component Edit: Failure invoking listener method 'public void net.liga.portal.htmlportlet.Edit.doAction() throws javax.portlet.PortletModeException' on [EMAIL PROTECTED]: Value too long"
What can I do else? Need I rebuild my jetspeed from sources to work with CLOB datatype? 2006/10/3, Stephen Greenlee <[EMAIL PROTECTED]>:
Vitaly, We also set "PROPERTY_VALUE" of type BLOB for the same reason. I think that you can do so without any problem. Stephen On 10/3/06, Vitaly Baranovsky <[EMAIL PROTECTED]> wrote: > 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] > > > > > > -- Stephen Greenlee [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
