Hi,
I need deploy a group of beans with finders like this;
public interface ABean extends EJBHome {
...
Enumeration findByOtherBean(OtherBeanPK pk) throws FinderException,
RemoteException;
...
}
When the argument of the finder is a primery key of other bean.
But when I deploy... How can I declare the where for use the fields of
the primary key
Then next not run (logically):
where ?.year = YEAR and ?.number = NUMBER
I need to use the primery key as argument, because the code is produce by a
tool (VisualAge 3.5 e). Actually, I change the finder at hand, and
separate the
pk fields en various parameters. But it's very annoying to make this
every time.
How is possible declare a "where" for use primery keys as arguments?
Thank you in advance?
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".