Hey Vincent,
I tried what you suggest, ie:
1) create
2) fbpk
3) remove
4) fbpk
and I always get ObjectNotFoundException, correctly as expected.
Can you send me your test code and details (DB, CMP or BMP, ejb-jar.xml,
jboss.xml, etc), so I'll try it out ?
Thanks,
Simon
> Rickard,
> OK...
> But Sorry I forgot one piece in my test, I create, then
> fbpk, then remove,
> then fbpk, then getPropX() on the remote interface. I
> took the time to
> analyze, here whar happens.
> What happen is that
> - after the second fbpk, on the server I have
> nothing that happen an I
> receive no error (bug)
> - after I cal getPropX() on the remote, on the
> server, I have
> - ejbActivate
> - ejbLoad
> This ejbLoad have SQL read from the db
> on a record that does not
> exist, so
> SQLException so I receive a java.rmi.UnmarshallException.
>
> On version 2.0, I do not have these 2 calls but instead
> directly ejbFbpk
> that throw the Objectnfe (FinderException) up to my client.
>
> Vincent.
>
> -----Message d'origine-----
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de
> Rickard �berg
> Envoy� : mercredi 20 d�cembre 2000 17:12
> � : jBoss
> Objet : Re: [jBoss-User] ejbFindByPrimaryKey not read
> in version PRE2.1
>
>
> Vincent Harcq wrote:
> > In a test where I create then just findByPrimaryKey
> after, ejbFind
> > ByPrimaryKey is not read in jBoss PRE2.1 from CVS.
> > It works OK when deployed on 2.0.
>
> This is ok. If the bean wanted by the fBPK call is
> active we know that
> it exists, and thus return an EJBObject to it without
> calling the eFBPK
> on an instance.
>
> /Rickard
>
> --
> Rickard �berg
>
> Email: [EMAIL PROTECTED]
>
>
> --
>
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> List Help?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]