I noticed a problem with the findByPrimaryKey method
in the PersonEntity in the ZOLA test code. When I enter
a new e-mail address on the sign in screen I get
the same error that Vincent describes. The
findByPrimaryKey code is never called but the servlet
thinks a record for the e-mail was found. The ejbLoad
then dies. There was no create/remove in this test.
I am using PRE2.1 from CVS as of 12/24.
Not sure what version of the ZOLA code, but that should
not mater.
I am using Postgres 6.5 for the DB, if that is important.
Thanks,
Ken K
Include Message -------------------------------------
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]