This content has been marked as final.
Show 2 replies
-
1. Re: EJB-QL query for selecter in n:m relation??
triathlon98 Apr 17, 2004 11:43 AM (in response to ops)You have to use the getter for the addresses and select the streets from that.
Joachim -
2. Re: EJB-QL query for selecter in n:m relation??
lamarguy Apr 17, 2004 7:02 PM (in response to ops)try this:
public abstract Collection ejbSelectStreets (CustomerAPS customer) throws FinderException;
SELECT address.street FROM CustomerAPS AS customer, IN (customer.addresses) AS address WHERE customer = ?1