I have a database field Comment which is of type LongText what should be its type in Datasource file?
If I am using LONGTEXT as below it throws "ERROR: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : "
<field name="Comment" title="Comment" type="LONGTEXT" editorType="TextAreaItem"></field>
and using type="TEXT" throws "WARNING: Data truncation: Data too long for column 'Comment' at row 1" while performing update operation when Comment is already present.
<field name="Comment" title="Comment" type="TEXT" editorType="TextAreaItem"></field>
If I am using LONGTEXT as below it throws "ERROR: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : "
<field name="Comment" title="Comment" type="LONGTEXT" editorType="TextAreaItem"></field>
and using type="TEXT" throws "WARNING: Data truncation: Data too long for column 'Comment' at row 1" while performing update operation when Comment is already present.
<field name="Comment" title="Comment" type="TEXT" editorType="TextAreaItem"></field>
Comment