Hello,
i'm currently testing JOnAS with some of my Entity-Beans (BMP).
as i see, the ejbActivate() is never called, did i'm right?
in my code i'm using ejbActivate() to set the private fields
with the values got from "context.getPrimaryKey()".
then, in my loadRow-method, i can bind the values from
the private fields (_not_ using the PK).
(i copied this technic from j2sdkee, inprise, weblogic)
in src/eb/AccountExplBean.java, you are binding with the values from
AccountBeanPK pk = (AccountBeanPK) entityContext.getPrimaryKey();
stmt.setInt(1, pk.accno);
on each ejbLoad().
is this a feature or bug or did i'm missing something?
thanks a lot
klaus
--
Klaus Thiele - Personal & Informatik AG
mailto:[EMAIL PROTECTED]
"There's got to be more to life than compile-and-go."
----
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".