Hi ,
I have found that just after findByPrimaryKey, bean's
unsetEntityContext method is getting invoked(i.e
bean's instance is destroyed). I don,t know why this
is happening ..

Regards

--- Ashwani Kalra <[EMAIL PROTECTED]> wrote:
> Check if your store fn is getting called. If not
> then check the transaction
> attribtes of your setter methods.

> 2. I am writing a EJB using BMP with one of the
> business methods as setName(String). In my client
> when
> I do
> Person person = getHome().findByPrimaryKey(new
> PersonPK("1"));
> person.setName("somename"); I cannot see the
> database
> getting updated. My ejbStore method has the code to
> update the database. I don,t know why this is not
> working.



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to