Folks,
 
I already specified the following to skip the generation of primary key (all
the beans would use the same pk (e.g. BasePK) which only has 1 attriute
(i.e. objId))
  *  @ejb:pk generate="false"
 
I also commented out the subtask <subtask_entitypkentitypk/> of <ejbdoclet/>
in build.xml
 
However,
 
the followings would still be generated in ejb-jar.xml and home interface
correspondingly
 
   <prim-key-class>test.interfaces.MaterialMovementTxPK</prim-key-class>
 
   public test.interfaces.MaterialMovementTx
findByPrimaryKey(test.interfaces.MaterialMovementTxPK pk)
      throws java.rmi.RemoteException,javax.ejb.FinderException;
 
 
Question:
Anyway that I can specify my own primary key, so that the genreated codes
would use my own PK?
 
Thanks in advance
 
Chris

_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to