Re: SQLException caught : Before start of result set ?

2001-03-21 Thread David Nardini
Alec, Thanks for the info, however I'm struggling to understand how it applies to my case. Following is the piece of code in question, and the error is due to the SELECT following the INSERT (insert works fine; LIGHTBOX_ID is on AUTO_INCREMENT) : // add a LIGHTBOX row ... rs = stmt.executeQuery(

SQLException caught : Before start of result set ?

2001-03-20 Thread David Nardini
Has anybody come across this exception, and can advise me what it means ? Thank you, David. - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archi