Re: Update ResultSet

From: Andrew Lazarus <drlaz(at)attglobal(dot)net>
To: tivvpgsqljdbc(at)gtech-ua(dot)com
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Update ResultSet
Date: 2008-01-13 04:47:38
Message-ID: 46688274.20080112204738@attglobal.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Wednesday, October 10, 2007, 5:39:47 AM, you wrote:

> Hi.

> I'd create an updatable server-side view and issue select against it.
> Not sure if primary key information will be propagated, but you can try.

I've found that a column in a view named "oid" is automatically
assumed to be a primary key. (You can see the special case in the JDBC
code.) So I include such a column in an updatable view.
--
Best regards,
Andrew mailto:drlaz(at)attglobal(dot)net

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Magne Mæhre 2008-01-14 09:39:04 Re: Is it safe to use 8.0.14 server and 7.4 driver ?
Previous Message Oliver Jowett 2008-01-12 22:45:31 Re: Is it safe to use 8.0.14 server and 7.4 driver ?