cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <>
Subject Re: Cayenne-generated classes need @SuppressWarnings("serial")
Date Tue, 04 Oct 2011 09:57:49 GMT

On Oct 4, 2011, at 12:48 PM, Durchholz, Joachim wrote:

> In that case, it may help to declare the generated classes abstract. Abstract classes
cannot be deserialized, so the compiler should not complain.

Oh and BTW, generated classes are abstract (at least in 3.1), and the compiler still complains
- separately about superclass and subclass. So there's more work to do for us to figure out
how to handle this correctly.


View raw message