A simple question: how do I use XDoclet to create a

public void remove (java.lang.String id)

method on the generated home interface of my entity EJB?

Thank you very much for your help!

Bruno.



Tags currently look like this ...

/**
 * @ejb.bean    
 *              name = "DiscountEntity"
 *              jndi-name = "ejb/entity/Discount"
 *              view-type = "local"
 *              type = "CMP"
 *              reentrant = "false"
 *              schema = "DiscountSchema"
 *              primkey-field = "id"
 *              cmp-version = "2.x"
 *
 * @ejb.finder
 *              view-type = "local"
 *      signature="DiscountLocal findByPrimaryKey(java.lang.String id)"
 *      query="SELECT OBJECT(d) FROM DiscountSchema d WHERE d.id = ?1"
 *
 * @ejb.finder
 *              view-type = "local"
 *      signature="Collection findAll()"
 *      query="SELECT OBJECT(d) FROM DiscountSchema d"
 *
 * @ejb.home            
 *              local-class = "biz.classcalendar.entity.discount.DiscountLocalHome"
 *
 * @ejb.interface       
 *              local-class = "biz.classcalendar.entity.discount.DiscountLocal"
 *
 * @ejb.persistence
 *              table-name = "discountdays"
 *
 * @ejb.security-identity       
 *              use-caller-identity = "true"
 *
 * @ejb.util
 *              generate = "physical"
 *
 * @ejb.permission
 *              role-name = "everyone"
 *
 * @ejb.transaction
 *              type = "Required"
 *
 * @jboss.persistence
 *      create-table="true"
 *      remove-table="false"
 */

The entity base class has the method ...
        
        /**
         * @see javax.ejb.EntityBean#ejbRemove()
         */
        
        public void ejbRemove() throws javax.ejb.RemoveException
        {
                debug("ejbRemove");
        }



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to