Hi,

> Hi,
> 
> in my EntityBean happens an Exception, were the Exception object is null
> (e.g. catch(Exception ex) ... ex == null). The code in my ejbActivate
> is:
> 
> <code>
>  public void ejbActivate() throws RemoteException {
>   System.out.println("[MandantBean] ejbActivate()");
>   AdresseHome adresseHome;
>   AdressePK key = null;
>   try {
>    // Adresse Exemplar holen
>    key.Mandant = getNummer();             <== Here is the mistake :-) I
> have
> to use EntityContexts PrimaryKewy ....

I have changed to:
key.Mandant = ((MandantPK)ectx.getPrimaryKey()).Nummer;
but the errors happens always. the EntityContext (ectx) is set well...

> CU
> 
> ---
> Ingo Bruell
> OBL GmbH ([EMAIL PROTECTED])
> Hude (Oldenburg)
> Germany

-- 
Sent through GMX FreeMail - http://www.gmx.net


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to