Hi,

I am sorry for bothering you with a simple question, but I really don't know :-)



0.
I use J2EE1.2.1

1.
in xxxPK.java, there is a "  public String xxxY; "

2.
in xxxHome.java, I define:
...
public xxx findByPrimaryKey(xxxPK key) throws FinderException, RemoteException;
...

3.
So with CMP,  how can I "implement" this method in "Development Setting" ?

      a. SELECT "xxxY" FROM "xxxBeanTable"  WHERE "xxxY" = ?
          It seems not correct,  because now "?" is a xxxPK, not a String.
      b. SELECT "xxxY" FROM "xxxBeanTable"  WHERE "xxxY" = ?.xxxY    :-)
          It seems not correct also  :-)

4.
Now I have to "don't use xxxPK"   :-)


Could anybody give me some direction?


Thanks in advance!


Bo
Sept.01,2000

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to