On 22/08/11 11:04, Chris Wareham wrote:>> stmt = con.prepareStatement(query);>
Should of course be:
stmt = con.prepareStatement(query.toString());
Chris