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