On Mon, Jul 13, 2009 at 9:44 PM, Thomas Kellerer<spam_eater(at)gmx(dot)net> wrote:
> Statement stmt = connection.createStatement();
> stmt.executeUpdate("delete from person where firstname like 'A%' returning
> id");
>
> Am I missing something or is the "RETURNING" feature not supported by the
> driver?
executeUpdate by definitionem can only return an int, the number of
rows affected.
You probably can use stmt.executeQuery instead