Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [JDBC] Patch for Statement.getGeneratedKeys()

From: <tivvpgsqljdbc(at)gtech-ua.com>
Date: Wed Jan 16 2008 - 04:30:22 EST


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


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library