[JDBC-10] Attempts to return generated keys on batch inserts fails on PostgreSQL and MS SQL Server Created: 18/Jun/11 Updated: 01/Jun/16 Resolved: 27/Jun/11
|Reporter:||Sean Corfield||Assignee:||Sean Corfield|
"JDBC driver for PostgreSQL and ms-sql does not support returning of generated keys from statements executed in batch. The SQL exception was thrown when 'do-prepared*' was called with 'return-keys' set to true. Currently only the function 'insert-values' calls a new method 'do-single-prepared-get-keys*' when single relation is inserted."
|Comment by Sean Corfield [ 27/Jun/11 5:54 PM ]|
I just committed a potential fix for this. It's available in the Sonatype snapshots repo.