Hmm, seemed anything but abstract to me.  Suggest you take another
look at the documentation, maybe searching for the string
"typeHandler".  They aren't configured as such though, at least not
via iBATIS.

I'd also second Clinton in suggesting that you consider if you do
really need them, as if you're new to iBATIS, it'd be better to get
the basics working before getting into customisation of this sort.

/Gwyn

On 08/08/06, Socheat KHAUV <[EMAIL PROTECTED]> wrote:
this example is did not show how confige and use it in XML file,
it is a bit abstract.


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

/Gwyn

On 08/08/06, Socheat KHAUV wrote:
> can you give me a small example on it ?
> cuz i can not find this simple configuration in the document of iBatis.
>
>
> Clinton Begin wrote:
>
> Type handlers handle the translation between Java types and database
types.
> You can customize them, but you don't need to. The advantage is that you
> can deal with complex or unique types not supported by default.
>
> You seem new to iBATIS, so to begin with, you will likely not have to
worry
> about it. When you need a custom type handler, you'll know. :-)
>
> Clinton
>
> On 8/7/06, Socheat KHAUV wrote:
> >
> > Could you give some clue ?
> >
> > what is the advantage of TypeHandler and how to use it ?
> >

--
Download Wicket 1.2.1 now! - http://wicketframework.org

Reply via email to