From: Till S. <til...@tu...> - 2014-06-13 11:57:34
|
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 -- Dipl.-Inf. Till Schäfer TU Dortmund University Chair 11 - Algorithm Engineering Otto-Hahn-Str. 14 / Room 237 44227 Dortmund, Germany e-mail: til...@cs... phone: +49(231)755-7706 fax: +49(231)755-7740 web: http://ls11-www.cs.uni-dortmund.de/staff/schaefer pgp: https://keyserver2.pgp.com/vkd/SubmitSearch.event?&&SearchCriteria=0xD84DED79 |