Hi,

First of all, I apologize for this late answer;
I was out of my office for several weeks.

Yes, it is possible, provided that the attributes is defined as 'public'.
(it's not the case in your follwing example).

(See the Enterprise JavaBeans Specification v1.1
        & 9.4.1 Container-managed fields
        page 130
)

Regards.
H�l�ne.

> Thomas Dandelot wrote:
> 
> Hi all,
> 
> Is it possible to map some inherited attributes in EJB Container Managed ?
> For example :
> 
> public class MotherAccount
> {
>     protected int motherint;
> 
>     public void setMotherint(int anInt)
>     {
>         this.motherint = anInt;
>     }
> ........
> }
> 
> and the Account Bean class that extends the super class :
> 
> public class AccountImplBean extends MotherAccount implements EntityBean {
> ........
> }
> 
> Is it possible to map the motherint attribute of class AccountImplBean
> inhertied from MotherAccount class ?
> 
> In a simple way, is it possible to save values of inherited attributes with
> container managed entity beans ?
> 
> Thanx,
> 
>                 Thomas DANDELOT

-- 
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]   http://www.evidian.com
  Phone: 33.4.76.29.73.53            Fax: 33.4.76.29.76.00
  Download our EJB Server JOnAS at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to