How did that class get a name all in upper case?  I also don't like the
allowed update to the primary key as a default (though that idea has it's
fans.)

You have to admit having the generator on the web is not too bad though.

Cheers

-----Original Message-----
From: Cedric Beust [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 4:20 PM
To: [EMAIL PROTECTED]
Subject: Re: IDE and debug utilities


> 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".

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