I am not sure if this is what you are looking for.
<http://wiki.apache.org/ibatis/ How_do_I_use_a_Custom_Type_Handler_with_complex_property_%28Type_Safe_En umeration%29>
Nathan
On Mar 31, 2005, at 7:53 AM, Akins, Greg wrote:
I'm retrieving a integer from a database,
the result class has a value which should be an enumerator.
I don't necessarily want this enumerator to be a lookup table in the database (so I can't use a select attribute on my resultMap).
Is this something I should use a CustomTypeHandler for? If so, could anyone point me to some examples, or more information on using a CustomerTypeHandler?
Greg Akins
Software Engineer
Sony Electronics, STP Systems
724.696.7322 (Sony)
724.696.6147 (AV)
724.454.7790 (Cell)
412.590.3973 (Pager)