Re: [JDBC] Patch for Statement.getGeneratedKeys()
BTW: How about next way:
extract table name as it is
parse + describe "select * from tableName".
optionally close unnamed statement (Protocol says it will still be
closed by next unnamed statement).
Read column names from there.
Call insert with returning column names.
It still has round-trip (or two, dunno if parse + describe needs two
round-trips), but it will take any insert statement.
P.S. Sorry if message will come twice - used wrong From: for the first one.
---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
Received on Wed Jan 16 04:32:30 2008
This archive was generated by hypermail 2.1.8
: Wed Jun 18 2008 - 23:42:56 EDT
|