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 C....@ads.it on 2006/10/03 17:35:48 UTC
Re: What is purpose of TypeHandler
Gwyn Evans wrote:
> Take a look at the "Creating custom Type Handlers" section of the
> iBATIS-SqlMaps-2.pdf for an example that shows how a java boolean
> might be mapped to/from "Y" or "N" values in a DB field.
[...]
> Hmm, seemed anything but abstract to me. Suggest you take another
> look at the documentation, maybe searching for the string
> "typeHandler".
[...]
Well, in iBATIS-SqlMaps-2.pdf there are neither occurrences of "Type
Handlers" nor of "typeHandler"
The link in the wiki reported by Poitras Christian
http://opensource.atlassian.com/confluence/oss/pages/viewpage.action?pageId=422
refers to C sharp
I want now to understand how to get a unique value (it is NOT a result set)
actually a row (PL/SQL record type) from a package function.
http://www.mail-archive.com/user-java@ibatis.apache.org/msg06410.html
Let's see...
Re: What is purpose of TypeHandler
Posted by Jeff Butler <je...@gmail.com>.
I suggest that you look again...there are MANY references to type handlers
in the developer's guide. Page 41 in the latest version contains a complete
example.
If you need a newer version of the developer's guide, get it here:
http://ibatis.apache.org/javadownloads.html
Jeff Butler
On 10/3/06, C.Zecca@ads.it <C....@ads.it> wrote:
>
> Gwyn Evans wrote:
>
> > Take a look at the "Creating custom Type Handlers" section of the
> > iBATIS-SqlMaps-2.pdf for an example that shows how a java boolean
> > might be mapped to/from "Y" or "N" values in a DB field.
>
> [...]
>
> > Hmm, seemed anything but abstract to me. Suggest you take another
> > look at the documentation, maybe searching for the string
> > "typeHandler".
>
> [...]
>
> Well, in iBATIS-SqlMaps-2.pdf there are neither occurrences of "Type
> Handlers" nor of "typeHandler"
>
> The link in the wiki reported by Poitras Christian
>
> http://opensource.atlassian.com/confluence/oss/pages/viewpage.action?pageId=422
> refers to C sharp
>
> I want now to understand how to get a unique value (it is NOT a result
> set)
> actually a row (PL/SQL record type) from a package function.
> http://www.mail-archive.com/user-java@ibatis.apache.org/msg06410.html
>
> Let's see...
>