db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pflick <craterv...@yahoo.com>
Subject Re: Timestamp error
Date Fri, 21 Mar 2008 17:17:26 GMT
Thanks Brian.  That was my problem.

Bryan Pendleton <bpendleton@amberpoint.com> wrote: > java.sql.SQLException: Column
'0' not found.

It sounds like you are calling rs.getString("0"). If you want to get
the first column in the result, you should know that columns
in the JDBC api are numbered starting at 1:

Perhaps you should call rs.getString(1) instead.



Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
View raw message