Hi there!

I am trying to get xdoclet to generate DAO interfaces for my EJB's and i have a EntityBaseBean witch all the other EntityBeans are subclasses of.

Inside the EntityBaseBean i have want to place common calls and common dao.calls like;


public abstract EntityBaseBean implements EntityBean {

/**
* @ejb.home-method view-type="local"
*/
public long getLastModified();

/**
* @ejb.home-method view-type="local"
* @dao.call
*/
public void backup(String pk, EntityBaseLocal ejb);

}


Then i have other beans that extends this base class;


public abstract AnotherBean extends EntityBaseBean implements EntityBean {

/**
* @ejb.home-method view-type="local"
*/
public String getSome();

/**
* @ejb.home-method view-type="local"
* @dao.call
*/
public void format(String pk, EntityBaseLocal ejb);
}


My problem is that when i generate the local interface/home the inheritance works and AnotherBean gets all functions from EntityBaseBean. But when the DAO interfaces are generated there seems to be no more inheritance in xdoclet-1.2b2. I expected to get a DAO if for AnotherBean that looked like this:

public interface AnotherDAO {
public void backup(String pk, EntityBaseLocal ejb);
public void format(String pk, EntityBaseLocal ejb);
}

But the inteface i get only contains format();. Is there something i have to declare in build.xml or with tags in the source to get the DAO generation to understand inheritance?

Mvh Karl �ie


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to