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 <[EMAIL PROTECTED]> 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

Reply via email to