ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: TypeHandlerCallback doesn't work as expected
Date Wed, 31 Aug 2005 01:58:15 GMT
I'd imagine that this behaviour is entirely as expected.

If there's no results, then getResult isn't called...makes sense.

There's a feature request in JIRA about gaining access to metadata...no ETA 
though...

Cheers,
Clinton


On 8/26/05, Mirek Kopriva <mirek1977@gmail.com> wrote:
> 
> Hi,
> I'm encountering the folowing problem, can anybody help?
> 
> I need to retrive ResultSet because of legacy software, which is using
> ResultSetMetadata to populate it's own data structures.
> So I implemented TypeHandlerCallback's getResult, where I can get
> hold of it from the ResultGetter.
> The problem is that if the select statement doesn't return any data
> the 'getResult' method doesn't get called and the metadata is therefore 
> not
> available.
> Do you know where could be the problem? Would there be another way
> to get the ResultSet?
> Thanks a lot,
> Mirek
>

Mime
View raw message