on 6/24/02 3:09 PM, "James Turner" <[EMAIL PROTECTED]> wrote:

> 
>> Bah. This is exactly why I hate JSP. It encourages people to write stupid
>> code.
> 
> Well, I don't code much pure JSP anymore, I'm largely writing in
> Struts.

Bah.

>  However, the argument that a user-inputed
> values shouldn't be matched against a primary key isn't always valid.  I'm
> doing a lot of insurance work now, and
> social security number is typically a primary key on tables, as well as the
> input users need to log in.  And it's
> important to know the difference between a missing user and some weird case
> where there's multiple values returned.

Then that logic should be embedded into a business object or tool, not into
UserPeer.retrieveByPk().

-jon
 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to