Re: OID-problem: metadata: use of TableGen O/R-mapper

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: Larry LeFever <lefever(at)rcn(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: OID-problem: metadata: use of TableGen O/R-mapper
Date: 2002-11-07 13:59:54
Message-ID: 1036677594.1391.59.camel@inspiron.cramers
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Yes, there can be some problems getting the oid, jakarta's turbine
project has the same problem.

As far as instability goes, we generally fix more than we break, so I
would say go for it, but of course test the code.

Dave
On Wed, 2002-11-06 at 18:09, Larry LeFever wrote:
> I'm having a problem with TableGen, an O/R-mapper,
> while trying to use it with PostgreSQL thru JDBC.
>
> There's a metadata-related call that throws an
> exception indicating that the OID for the table in
> question was not found.
>
> A little online research led me to a site (can't
> cite it right now) on which there is some mention
> of a bug in the PostgreSQL-JDBC driver having
> something to do with the datatype of OID: some
> mismatch, apparently, between PostgreSQL's type
> for OID vs. the type the driver is expecting
> (pointer vs. INTEGER ?).
>
> My next step is to get the latest (dev-build?) of
> the driver. However, I'm worried that that driver
> will be unstable as regards other functionality.
>
> Any advice regarding this issue would be much
> appreciated.
>
> Thank you,
>
> Larry LeFever
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
--
Dave Cramer <Dave(at)micro-automation(dot)net>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2002-11-07 14:00:14 Re: Hi!
Previous Message Dave Cramer 2002-11-07 13:57:36 Re: gcj oddity