> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of fname lname

> There is an on-line Entity Bean generation tool at
> www.srpi.com

Mmmh... if I judge by a quick look at the generated code for the PK, it
seems to need a lot of improvement:

public class CUSTOMER_PK implements java.io.Serializable {
        public int id;

        public boolean equals ( CUSTOMER_PK pk ) {
                return pk.toString().equals(this.toString());
        }

The setters are also very expensive (put on a Hashtable at each
invocation?!?).

--
Cedric

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