Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Container Managed Bean

Shweta Gulati
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,
I am developing the CMP using IBM Visual Age 3.5. the table to which this bean maps to uses composite primary key.the bean has been developed properly but i wish to get the values in one of the fields of the primary key for which i have specifically written the getter method both in the bean and the remote interface. but i am unable to access the method through the remote object.
when trying to access the same method by running the test client in Visual Age it gives me exception Transaction Rolled Back Exception.
The method that I have written in remote is -
java.math.BigDecimal getCzk_document_no() throws java.rmi.RemoteException;
and the corresponding method written in bean is -
public java.math.BigDecimal getCzk_document_no()
return czk_document_no;
czk_document_no is the part of the primary key.
Kindly let me know how to access primary key fields through the remote object .
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic