Re: Duplicate Columns on Insert

From: Aaron Mulder <ammulder(at)alumni(dot)princeton(dot)edu>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Duplicate Columns on Insert
Date: 2002-07-29 21:36:32
Message-ID: Pine.LNX.4.44.0207291734480.21539-100000@gentoo.CS.Princeton.EDU
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Do you know what INSERT statement JBoss is constructing (sounds
like perhaps it is including the same column twice in the insert)? Is the
column in question both a CMP field and a CMR field? If so, and you
remove the CMP entries for it so it's just a CMR field, does it work?

Aaron

On Mon, 29 Jul 2002, Tom Innes wrote:
> Hi,
>
> I am using Postgres V7.21 along with Jboss V3.01.. I have established a 1 to
> many relationship between table A ( 1) and Table B (n). When I attempt to
> insert into table B, I get a duplicate column exception. The duplicated
> column is the related column.
>
> When I try this same project on hypersonic, it works fine.
>
> Is this a known problem on the PostgreSQL JDBC driver?

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Innes 2002-07-29 21:37:32 Duplicate Columns on Insert
Previous Message Bruce Momjian 2002-07-29 17:53:21 Re: Compile failure in CVS - JDBC3