Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: primary key on MySQL


Message #1 by Super Powerfulrez <powerfulrez@g...> on Fri, 23 Feb 2001 22:30:47 -0800 (PST)
Could you please tell us why to avoid JSP-MySQL combination?
I used it a lot and have no problem with it.

Geert Van Damme

> -----Original Message-----
> From: jigsjags@c... [mailto:jigsjags@c...]
> Sent: maandag 26 februari 2001 7:02
> To: Pro_JavaServer_Pages
> Subject: [pro_jsp] Re: primary key on MySQL
>
>
> dear pal
> Pls check ur syntax , there is no such thing as auto assign,YES but there
> is some thing called Auto_Increment , which can be taken as primary key.
>
> Therfore Always go for Auto_Increment, as it autmatically assigns unique
> no to primary key field,as and when records r added into tables.
>
> According to my experience Avoid MySql Jsp combination,
> either go for Perl-Cgi Mysql  OR
> Jsp Oracle combination for effiecient processing speed and
> resource availability
>
> Bye
>
> bye
> ------------------------------------------------------
> On Sat, 24 February 2001, Super Powerfulrez wrote:
>
> >
> > i was trying to use the auto assign primary key feature by
> MySQL but it does not work
> > i get this error message
> > javax.servlet.ServletException: Invalid argument value:
> Duplicate entry '0' for key 1
> > what does it mean? do i need to assign the primary key myself?
> >
> > benjamin


  Return to Index