Well thanks for the pointer.. you were right on the mark. I had a look in the API docs, which state that the close method on a Statement will
"Release this Statement object's database and JDBC resources immediately"
However the docs also point out that
"A Statement object is automatically closed when it is garbage collected. When a Statement object is closed, its current ResultSet object, if one exists, is also closed."
so there really is no need to call the statement.close() method at all.
Anyway, thanks for the pointer,
This is me: http://chris.uk.com