Re: creating temporary table PostgreSql 8.1 and iBatis 2.3 - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: creating temporary table PostgreSql 8.1 and iBatis 2.3
Date
Msg-id Pine.BSO.4.64.0706221732260.21640@leary.csoft.net
Whole thread Raw
In response to creating temporary table PostgreSql 8.1 and iBatis 2.3  (tomasz brymora <tomekpilot@yahoo.com>)
Responses Re: [GENERAL] creating temporary table PostgreSql 8.1 and iBatis 2.3
List 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


pgsql-jdbc by date:

Previous
From: tomasz brymora
Date:
Subject: creating temporary table PostgreSql 8.1 and iBatis 2.3
Next
From: Kris Jurka
Date:
Subject: Re: Bug report and patch: PreparedStatement.setObject(int, Object) does not infer java.lang.Byte