Hi Till,
Thanks for your advice it helped. :)
Well, the actual reason was that I tried to store Scaffold in ViewState.
Still it is not used in program so I can simply remove it and now
everything works fine.
All the best,
Andrew
On 06/13/2014 02:57 PM, Till Schäfer wrote:
> Hi,
> this sql error normally occurs if you save a too long string in a field, that has a size limitation.
>
> The error occurs for the following command in the GUI Controller:
> db.saveOrUpdate(dbSession);
>
> Could it be, that some part of your ViewState or ViewConfig references some other part of your code? For example if you have registered a change listener on your ViewState, all registered listeners and all objects that are referenced by this objects (and so on) are also saved!
>
> So as a general rule: ViewState and ViewConfig should never reference anything outside their own class.
>
> Greetings
> Till
>
> Am Mittwoch, 11. Juni 2014, 21:18:48 schrieb Anjenson:
>> Hi everyone,
>>
>> While working on MoleculeCloud view and I faced a problem with saving
>> session when finishing program.
>> It is not related to the size of packets as not much is stored in State
>> class on the moment of closing.
>> I have no idea about how saving process works and how to debug it.
>> I hope that there is someone on the list who can describe the process of
>> saving so that at least I could understand it.
>>
>> I attach error logs to this mail. I will be happy to receive any advice
>> or help.
>>
>> Regards,
>> Andrew Zhilka
|