It would help if you also cited which exception is thrown and identify the line that caused it. One common cause of error in your code is to call beforeFirst() on a forward-only ResultSet. This is defined when you create the Statement (Connection.createStatement(String, int, int)), and that is not explicit in your code. Check out ResultSet class description in Javadoc for more info and example.
Henrique Sousa<br />SCJP 1.4<br /> <br />All men die, not all men really live - Braveheart, 1995
Joined: Jan 04, 2005
The error I am getting is "Method not yet supported"