RE: why null being returned

2002-05-10 Thread Rutledge, Aaron
43 PM To: Lalit Nagpal; [EMAIL PROTECTED] Subject: Re: why null being returned At 8:17 -0700 5/10/02, Lalit Nagpal wrote: >through a servlet i insert my form data into my table >(primary key is auto-incremented) and then i throw >another query which is >select last_insert_id() from mytabl

Re: why null being returned

2002-05-10 Thread Paul DuBois
At 8:17 -0700 5/10/02, Lalit Nagpal wrote: >through a servlet i insert my form data into my table >(primary key is auto-incremented) and then i throw >another query which is >select last_insert_id() from mytable limit 1 >through my .executeQuery method. when i ask >for the data through >.getString

why null being returned

2002-05-10 Thread Lalit Nagpal
through a servlet i insert my form data into my table (primary key is auto-incremented) and then i throw another query which is select last_insert_id() from mytable limit 1 through my .executeQuery method. when i ask for the data through .getString(1) i get null NullPointerException why ... any