ORMAdapter not Serializable

Hello,

I am having problems caused by the annonymous inner classes extending AbstractORMAdapter generated by SDE (see code at the end of this message): they are not Serializable. As I store persistent objects into HTTP sessions, exceptions are thrown when the web server tries to serialize sessions. Is there a workaround ? Did I get something wrong ?

Thanks in advance,

Jean-Marie

org.orm.util.ORMAdapter _ormAdapter = new org.orm.util.AbstractORMAdapter() {
		public java.util.Set getSet(int key) {
			return this_getSet(key);
		}
		
	};
 

Hi Jean-Marie,

I just sent you an email with the download link of a patch that have this problem fixed. Please try it, and let me know if it works.

Best regards,
Jick

Hello Jick,

Thank you for this fix, once again I’m very satisfied with Visual Paradigm as well as the reactivity of the technical support.

Best regards,

Jean-Marie

hi Jean-Marie,

You are welcome. I think you may try with the new version, which also have this problem fixed.

Best regards,
Jick