sounds like it's hanging on the rs.getString(), which is strange
perhaps "name" is a reserved word - try naming the column something else
try rs.getString(1); - you are selecting name in your select
statement ?
your dba (presuming you have one and he will talk to you) wil be able to
tell about connections.