Is there a way I can construct a type handler in different modes?
 
My specific need is this:
 
The iSeries folks like to give me back dates as integers, e.g. 20061004. They also give me back times as integers, e.g. 1203. Writing a type handler that copes with this is no big deal, but it would be useful if I could generalize the typehandler, and tell it to expect things of a particular format; e.g. new IntDateTypeHandler("HHmm"), or new IntDateTypeHandler("yyyyMMdd").
 
 

Reply via email to