Re: IBATIS support for postgres cursors - Mailing list pgsql-general

From
Subject Re: IBATIS support for postgres cursors
Date
Msg-id EB32C6744F73834AA2A3E17182E4292D167508@MS10.lsc.net
Whole thread Raw
In response to Re: IBATIS support for postgres cursors  (Guy Rouillier <guyr-ml1@burntmail.com>)
List pgsql-general

> -----Original Message-----
> From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-
>
> How did you get OTHER to work?  Did you define your own TypeHandler?

That's the only change we had to make.  The Java code works as is.  We only changed the jdbcType from "ORACLECURSOR" TO
"OTHER"

        <parameterMap id="getUsersParam" class="Map">
                <parameter property="results" jdbcType="OTHER" javaType="java.sql.ResultSet" mode="OUT"
resultMap="allUsersResult"/>
                <parameter property="errors" jdbcType="VARCHAR" javaType="java.lang.String" mode="OUT"/>
        </parameterMap>

Thanks,


Zeeshan
This e-mail is confidential and should not be used by anyone who is not the original intended recipient. Global
DataPointLimited does not accept liability for any statements made which are clearly the sender's own and not expressly
madeon behalf of Global DataPoint Limited. No contracts may be concluded on behalf of Global DataPoint Limited by means
ofe-mail communication. Global DataPoint Limited Registered in England and Wales with registered number 3739752
RegisteredOffice Middlesex House, 34-42 Cleveland Street, London W1T 4LB 

pgsql-general by date:

Previous
From: yasin malli
Date:
Subject: Re: pg_dump --compress error
Next
From: "Stavroula Gasparotto"
Date:
Subject: GiN indexes