ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Maves <Nathan.Ma...@Sun.COM>
Subject Re: SOLVED Re: oracle sequence trouble
Date Wed, 05 Jan 2005 22:15:59 GMT
Yeah, the more I thought about it you might have to check the result 
type and if it is a string the it might work.  Just something to think 
about :)

Nathan

On Jan 5, 2005, at 3:08 PM, Larry Meadors wrote:

> I am not sure how i feel about that...it would be convenient, but I am
> not sure of the impact it may have in other areas.
>
> On Wed, 05 Jan 2005 15:02:23 -0700, Nathan Maves 
> <Nathan.Maves@sun.com> wrote:
>> <select id="getNextId" resultClass="string">
>>          select CurrentId.NextVal as value from dual
>> </select>
>>
>> Is there anyway that sqlmaps could check if there is only one column
>> coming back and assume that this is the value for implicit resultmaps?


Mime
View raw message