Hello,
  I'm using Ejbhome .4, and I can't seem to get finder methods implemented.
We have tried returning both Enumerations of primary keys and a primary keys
themselves from the find method.
Everything compiles fine, but when trying to run the Generator, it fails
when compiling EJBHomeBeanHome.java. It tries to access an Enumeration that
is never instantiated or set.
The output of our generator is show below:


Compiling source code..../EJBHomeDebitsHome.java:245: Undefined variable or
class name: en
      while(en.hasMoreElements()) {
            ^
./EJBHomeDebitsHome.java:246: Undefined variable or class name: en
        Financial.DebitsPK primaryKey =
(Financial.DebitsPK)en.nextElement();
                                                            ^
./EJBHomeDebitsHome.java:260: Exception javax.ejb.ObjectNotFoundException is
never thrown in the body of the corresponding try statement.
    } catch (javax.ejb.ObjectNotFoundException ex) {
      ^
./EJBHomeDebitsHome.java:262: Exception java.sql.SQLException is never
thrown in the body of the corresponding try statement.
    } catch (java.sql.SQLException ex) {
      ^

===========================================================================
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