Drag and drop XBonusEJB from left panel to right panel XBONUS
Then drag and drop all the attributes from left panel to right panel- This creates the relation between EJB and Database.
change DB2ADMIN TO NULLID -> this is require to make ejb as schema independent
Edit the methods of the bean class XBonusEJBBean to call optimistic locking classes:
/**
* ejbLoad
*/
public void ejbLoad() {
super.ejbLoad();
_initLinks();
}
/**
* ejbStore
*/
public void ejbStore() {
super.ejbStore();
}
No comments:
Post a Comment