Hi,

I need to call an ABean.getBBeans() and
obtain BBean ORDERED BY infoB. Is this
possibile without write ad-hoc finder but
with getBBeans() overload?

TIA!

I have this situation:
ABean (.get/setId: Int/PK  .get/setInfoA: String
  get/setBBeans())
BBean (.get/setId: Int/PK  .get/setInfoB: String
  get/setABean())


This is CMR Xdoclet-definition. 

ABean
  /**
   * @ejb.interface-method
   *
   * @ejb.relation
   *   name="BBean-ABean"
   *   role-name="ABean-has-many-BBean"
   *   cascade-delete="no"
   */  
  public abstract Set getBBeans();


BBean
  /**
   * @ejb.interface-method
   * @ejb.relation name="BBean-ABean"
   *               role-name="BBean-belongs-to-ABean"
   *               cascade-delete="no"
   * @jboss.relation fk-constraint="true" 
   *                 related-pk-field="id"
   *                 fk-column="idA"
   **/
  public abstract ABeanLocal getABean();


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844353#3844353

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844353


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to