Thanks Brian. That was my problem.
Bryan Pendleton <email@example.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.