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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote: > > Could you give some clue ? > > what is the advantage of TypeHandler and how to use it ? > > > ________________________________ Groups are talking. We´re listening. Check out the handy changes to Yahoo! Groups. > ________________________________ Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
-- Download Wicket 1.2.1 now! - http://wicketframework.org
