Check if your store fn is getting called. If not then check the transaction
attribtes of your setter methods.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Warm Regards
Ashwani Kalra
Sr. Member Dev. Staff
Aithent Technologies(P) Ltd.(SSI)
Plot 8 & 9, Sector-18
Gurgaon,Haryana
Email : [EMAIL PROTECTED]
[EMAIL PROTECTED]
Phone :
Office : 91- 6346338,6397836-37,6397533
6397324,6397277 (Ext :307 )
Resi : 5635718
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Mukul Gandhi
Sent: Wednesday, March 14, 2001 3:29 PM
To: [EMAIL PROTECTED]
Subject: Doubts
I have some doubts -
1. My EJB client is doing,
Person person = getHome().findByPrimaryKey(new
PersonPK("1")); where Person is the remote interface.
And, in my bean class, ejbFindByPrimaryKey method is
returning PersonPK. This is working fine but i don,t
understand why, because return types in the client and
the bean class are different. In books and sample code
its written like this.
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.
Regards
-mukul
__________________________________________________
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".
===========================================================================
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".