Hi Oleg,

Oleg Barshay wrote:
> I've run into a problem using Castor with
> inherittance and would really appreciate some advice.
> Suppose I have classes Employee and Manager where 
> Manager extends Employee.  If I define a mapping for 
> Employee and then try to persist Manager I get a
> "ClassNotPersistenceCapableException: The class 
> Manager is not persistence capable: no mapping was 
> defined for the class"  Is there any way to persist 
> subclasses in Castor without having an explicit
> mapping for each subclass?
No, all persistent classes should have mapping.

Oleg

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to