Hello,
  ok could you do something for me?
 
i write below the ejb that i m  using, would you mind running xdoclet against it and tell me
what's get generated, so i see if the problem is the xdoclet tags or  the environment?
 
here it is
 
-----------------------------------------------

package com.myapp.ejb;

import javax.ejb.*;

/**
 * @ejb.bean
 * name="ExpenseType"
 * type="CMP"
 * cmp-version="2.x"
 * jndi-name="budget/ExpenseTypeHome"
 * primkey-field="id"
 *
 * @ejb.finder
 * signature="java.util.Collection findAll()"
 *
 * @ejb.persistence table-name="types"
 * 
 * @openejb
 *
 * @ejb.transaction type="Required"
 *
 * @jboss.unknown-pk class="java.lang.Integer"
 *          auto-increment="true"
 *
 * @jboss.persistence datasource="worldcorp/MySqlDS"
 *        createTable="false"
 *        removeTable="false" 
 *
 */
public abstract class ExpenseTypeBean implements EntityBean
{
   
 /** @ejb.create-method */
 public Integer ejbCreate(Integer type, String description) throws CreateException {
  this.setId (type);
  this.setDescription(description);
  return null;
 }


 public abstract void setId(Integer id);

 /**
  * @ejb.interface-method
  * @ejb.persistence
  */
 public abstract Integer getId();


 /**
  * @ejb.interface-method
  * @ejb.persistence
  */
 public abstract String getDescription();

 /**
  * @ejb.interface-method
  */
 public abstract void setDescription(String desc);

}

 

pls let me know what are the files that gets generated..

you could mail to me privately (i doubt that list allows attachment) at [EMAIL PROTECTED]

 

regars

 marco


 


 

Reply via email to