pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter T Mount <peter@retep.org.uk>
To: Greg Speegle <Greg@10happythings.com>
Cc: Peter T Mount <peter@retep.org.uk>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [INTERFACES] Q on JDBC's resultset
Date: Wed, 07 Feb 2001 03:48:08 -0500 (EST)
Message-ID: <981535688.3a810bc8a36da@webmail.retep.org.uk> (raw)
In-Reply-To: <3A807B31.DC58C68A@10happythings.com>
References: <Pine.GSO.4.21.0102012132230.9884-100000@ural2>
	<981454871.3a7fd017dc11f@webmail.retep.org.uk>
	<3A807B31.DC58C68A@10happythings.com>

Quoting Greg Speegle <Greg@10happythings.com>:

> 
> 
> Peter T Mount wrote:
> 
> > 7.1 has the beginings of an UpdateableResultSet. When I can work out
> how to
> > solve a few fundamental problems it shouldn't take long.
> >
> > Here's a few questions for people to see if they can figure it out:
> >
> > * How to detect what table a column belongs so. Required if the query
> was a
> > join of 2 or more tables.
> 
> As I understand the JDBC spec, you are not supposed to be able to
> update
> through a ResultSet unless several criteria are met by the query,
> including that the
> 
> query is over exactly one table (to avoid problems like these). I don't
> recall if
> the other cases are also prohibited, but that would make the problem
> easier.

Yes it would make it easier. The problem I have is how to detect when it's just 
a single table.

Peter

-- 
Peter Mount peter@retep.org.uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/



view thread (5+ messages)  latest in thread

Message-ID: <981535688.3a810bc8a36da@webmail.retep.org.uk>
Permalink:  ../981535688.3a810bc8a36da@webmail.retep.org.uk/
Also on:    postgresql.org/message-id/981535688.3a810bc8a36da@webmail.retep.org.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: peter@retep.org.uk, Greg@10happythings.com, pgsql-jdbc@postgresql.org
  Subject: Re: [INTERFACES] Q on JDBC's resultset
  In-Reply-To: <981535688.3a810bc8a36da@webmail.retep.org.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox