Hi,
I am trying to implement an ejbFindByXXX(String xxx) method in a BMP entity bean. When I test the bean, the method returns an Enumeration as expected. But when I try to call the business methods with the Remote reference (obtained out of the elements in the Enumeraton), I get the TransactionRolledBack exception.
Any help?
Regards,
Anil
-
ejbFindByXXX() gives TransactionRolledbackException (3 messages)
- Posted by: Anil Kumar
- Posted on: April 23 2001 04:07 EDT
Threaded Messages (3)
- ejbFindByXXX() gives TransactionRolledbackException by Richard Kenyon on April 23 2001 06:56 EDT
- ejbFindByXXX() gives TransactionRolledbackException by Tony Brookes on April 23 2001 11:46 EDT
- ejbFindByXXX() gives TransactionRolledbackException by qing yan on April 23 2001 11:47 EDT
-
ejbFindByXXX() gives TransactionRolledbackException[ Go to top ]
- Posted by: Richard Kenyon
- Posted on: April 23 2001 06:56 EDT
- in response to Anil Kumar
I think the enumeration only contains the Primary Keys. You'll have to do a findByPrimaryKey on each element of the enumeration to get the remote interface.
I may be wrong on this...
Cheers,
Rick
-
ejbFindByXXX() gives TransactionRolledbackException[ Go to top ]
- Posted by: Tony Brookes
- Posted on: April 23 2001 11:46 EDT
- in response to Richard Kenyon
You're right Rick, it returns Primary keys. Sucks a bit really, but that's how it is.
Chz
Tony -
ejbFindByXXX() gives TransactionRolledbackException[ Go to top ]
- Posted by: qing yan
- Posted on: April 23 2001 11:47 EDT
- in response to Richard Kenyon
The client should receive remote ref. from ejbFindByXXX(),
something else wrong here..