Skip site navigation (1) Skip section navigation (2)

Re: Support of getting generated keys in driver version 8.4devel

From: Miłosz Tylenda <mtylenda(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Support of getting generated keys in driver version 8.4devel
Date: 2009-01-05 09:39:18
Message-ID: 472be2d5-bd00-4721-aeb1-3f70989e066d@s9g2000prg.googlegroups.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
> AFAIK it is still not implemented however, you may try to use RETURNS
> clause in INSERT statement.
> This works perfectly good.
> Tomisław Kityński

Tomisław, thanks. I have also tried this and it works. However, I am
more interested in driver support for generated keys because modifying
INSERT statements is not a piece of cake in my case.

Cheers,
Miłosz

In response to

pgsql-jdbc by date

Next:From: egeschwindeDate: 2009-01-08 08:53:15
Subject: COPY support in JDBC
Previous:From: Miłosz TylendaDate: 2009-01-05 09:30:11
Subject: Re: Support of getting generated keys in driver version 8.4devel

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group