Hello XDoclet friends. I am having a problem with CMR and Value Objects. I would like to have value objects for both sides of the relationship, but it seems when I do so, I get a "Reentrant method call detected" error in JBoss. Here is how I have my beans' relationships setup:
UserBean: /** * @ejb.interface-method * view-type="both" * * @ejb.relation * name="user-auction" * role-name="user-has-auction" * target-multiple="yes" * * @ejb.value-object * compose="com.ectropic.auctionhopper.core.AuctionTO" * compose-name="AuctionTO" * members="com.ectropic.auctionhopper.cmp.interfaces.AuctionLocal" * members-name="Auction" * relation="external" * type="java.util.Collection" * */ public abstract java.util.Collection getAuctionLocals(); public abstract void setAuctionLocals(java.util.Collection auctionLocals); Auction Bean: /** * * @ejb.relation * name="user-auction" * role-name="auction-has-user" * target-multiple="yes" * * @jboss.relation * fk-constraint="true" * fk-column="user_id" * related-pk-field="id" * * @ejb.value-object * compose="com.ectropic.auctionhopper.core.UserTO" * compose-name="UserTO" * members="com.ectropic.auctionhopper.cmp.interfaces.UserLocal" * members-name="User" * relation="external" * */ public abstract UserLocal getUserLocal(); public abstract void setUserLocal(UserLocal userLocal); Please help. I have tried everything, read tons of xdoclet-user posts, and beat my head against the wall. Thanks. -James
signature.asc
Description: This is a digitally signed message part
