Hi, I don't know if I could understand very well your question, but you can
define an "extension" through the TypeHandlerCallback class implementation.
Than you will can automatic convert between two types.

Regards,



On 11/21/06, Anthony Hong <[EMAIL PROTECTED]> wrote:

I have a common table that stores data with id and value.
The value field defined in DB is varchar2.
Currently each time I store or retrieve data from db, I convert value
from object to string in inserting, updating. Or convert value from
string to objec in selectinig.
I'd like to know how to achieve with ibatis help, something like
before paremeter set I can do something. Or in result map. I can do
convertion.

--

Anthony Hong




--
Claudiomir G. Zanchetti (Caio)
Sun Certified Programmer for the Java 2 Plataform, Standard Edition 5.0

Reply via email to