You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Larry Meadors <la...@gmail.com> on 2005/05/12 05:01:32 UTC
Trouble shooting mapped statements
Ok, does anybody out there have good tricks for troubleshooting mapped
statements?
Like for example, when you have a mapped statement that gets an unusual
datatype out of the database - I have mapped statements to Maps, then looped
through the entries logging the field names and types to see what the bean
should look like. (Yeah, yeah, I know Vic, I know...don't even say it.)
If you have a clever trick, please share and I'll add it to one of the
troubleshooting sections in the upcoming iBATIS book.
Larry
Re: Custom XML Resultmaps
Posted by Abdullah Kauchali <ab...@isanusi.com>.
Ummmm, I suppose we can, but that's another server-side processing we
have to do then.
What I'm looking for is the possibility of producing XML directly from
the JDBC
Resultset? Does the framework allow for extending them?
Kind regards
Abdullah
Larry Meadors wrote:
> Could you transform it with XSLT?
>
> Larry
>
>
> On 5/12/05, *Abdullah Kauchali* <abdullah.kauchali@isanusi.com
> <ma...@isanusi.com>> wrote:
>
> Is it possible to extend the current XML Resultmap format to a new
> custom one? Don't ask!, but were are investigating the possibility of
> returning XML in Microsoft's ADO format.
>
> Any general advice on this would be greatly appreciated,
>
> Kind regards
>
> Abdullah
>
>
Re: Custom XML Resultmaps
Posted by Larry Meadors <la...@gmail.com>.
Could you transform it with XSLT?
Larry
On 5/12/05, Abdullah Kauchali <ab...@isanusi.com> wrote:
>
> Is it possible to extend the current XML Resultmap format to a new
> custom one? Don't ask!, but were are investigating the possibility of
> returning XML in Microsoft's ADO format.
>
> Any general advice on this would be greatly appreciated,
>
> Kind regards
>
> Abdullah
>
Custom XML Resultmaps
Posted by Abdullah Kauchali <ab...@isanusi.com>.
Is it possible to extend the current XML Resultmap format to a new
custom one? Don't ask!, but were are investigating the possibility of
returning XML in Microsoft's ADO format.
Any general advice on this would be greatly appreciated,
Kind regards
Abdullah