Re: [JDBC] creating temporary table PostgreSql 8.1 and iBatis 2.3

From: Kris Jurka <books(at)ejurka(dot)com>
To: tomasz brymora <tomekpilot(at)yahoo(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [JDBC] creating temporary table PostgreSql 8.1 and iBatis 2.3
Date: 2007-06-22 21:33:23
Message-ID: Pine.BSO.4.64.0706221732260.21640@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

On Fri, 22 Jun 2007, tomasz brymora wrote:

> I've build a script in pgAdmin 3 ( os x 10.4 on ppc) that does a select,
> some left outer joins and puts the results into a temporary table. Works
> great when I run in pgAdmin.
>
> Then I try to use in an iBatis sqlmap as a 'select' and get this when
> trying to execute it:
>
> org.postgresql.util.PSQLException: ERROR: must be member of role
> "postgres"
>
> Other than that queries run fine. I'm thinking the problem is on the db
> admin side of things, but I'm at a loss as to how to start fixing it.
>

Knowing the SQL that it actually executed would be valuable.

Kris Jurka

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Broersma Jr 2007-06-22 21:42:39 Re: Possible bug (or I don't understand how foreign keys should work with partitions)
Previous Message Jim Nasby 2007-06-22 21:29:28 Re: Dynamic Log tigger (plpgsql)

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2007-06-22 21:38:55 Re: Bug report and patch: PreparedStatement.setObject(int, Object) does not infer java.lang.Byte
Previous Message tomasz brymora 2007-06-22 21:29:24 creating temporary table PostgreSql 8.1 and iBatis 2.3