Originally posted by Binu Sen:
Your table does not have any column called UID....
And if it did, and it was a numeric column, then your SQL is wrong. Don't put quote characters around numeric data, just around character data.
Better yet, use PreparedStatement instead, it's what the grown-up
JDBC programmers use (mostly).