Unix Technical Forum

SQL Error in jsp

This is a discussion on SQL Error in jsp within the MySQL forums, part of the Database Server Software category; --> Hi, I am getting the following error while trying to display soem data in a jsp: "An error has ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 10:24 AM
Sandy80
 
Posts: n/a
Default SQL Error in jsp

Hi,

I am getting the following error while trying to display soem data in
a jsp:

"An error has occurred in the application.
Error occured while executing SQL with SQL Error Code=0, SQL
State=S1000, Message=After end of result set"

The error occurs only while displaying data for few dates, for the
rest of the dates it works fine.
I being very new to MySQL do not have a clue as to what can be the
error. If somebody can guide me as to what exactly is that error all
about and guide me in the right way I would really appreciate it.

Thanks and Regards,
Sandy

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 10:24 AM
Peter H. Coffin
 
Posts: n/a
Default Re: SQL Error in jsp

On Thu, 09 Aug 2007 01:32:38 -0700, Sandy80 wrote:
> Hi,
>
> I am getting the following error while trying to display soem data in
> a jsp:
>
> "An error has occurred in the application.
> Error occured while executing SQL with SQL Error Code=0, SQL
> State=S1000, Message=After end of result set"
>
> The error occurs only while displaying data for few dates, for the
> rest of the dates it works fine.
> I being very new to MySQL do not have a clue as to what can be the
> error. If somebody can guide me as to what exactly is that error all
> about and guide me in the right way I would really appreciate it.


This is a Java Problem, not a MySQL Problem. Based on the "Message"
item, it sounds like a result returned 5 rows and you asked for the 6th.

--
6. I will not gloat over my enemies' predicament before killing them.
--Peter Anspach's list of things to do as an Evil Overlord
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:00 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com