I am trying to build an MVCSoft example EJB 2.0 CMP.
How do I get abstract ejbSelect methods to carry over into the
xdoclet-generated CMP entity bean?
For example, before running xdoclet, these abstract methods are declared in
the CMP Entity java file:
public abstract Collection ejbSelectImagesBetween(
java.util.Date from, java.util.Date to )
throws FinderException;
public abstract Image ejbSelectImageByKey(
com.mvcsoft.samples.image.ImageEJBPK key )
throws FinderException;
And the following tags are declared at the top of the same file:
* @ejb:select signature="java.util.Collection
selectDescriptionsBetween(java.util.Date, java.util.Date)" query="select
object(i) from ImageBean i where i.date > ?1 and i.date < ?2"
result-type-mapping="Remote"
* @ejb:select signature="javax.swing.ImageIcon
selectImageByKey(com.mvcsoft.samples.image.ImageEJBPK)" query="select
object(i) from ImageBean i where i.primKey = ?1"
result-type-mapping="Remote"
* @ejb:interface remote-class="com.mvcsoft.samples.image.Image"
After creating the generated CMP Entity bean java file, the abstract
"ejbSelect" methods are missing.
Thank you for any help you can offer!
Matt