Dear Mr. Graham;

I followed your suggestion and I Made
a BasicColumnProcessor subclass where
process() method was overloaded:

        public Object
process(ResultSet rs, int index, Class
propType)
        throws SQLException {
               if
(propType.equals(Character.TYPE) ||
propType.equals(Character.class)) {
                  return new
Character(rs.getString(index).charAt(0));
                } else {
                  return
super.process(rs, index, propType);
                }
        }

It works, but I don't like it. It
seemed a non elegant solution (Here in
Brazil we call it "gambiarra" ;-)). I
think that will better have a tretment
for char attributes yet.

Thanks,

Rafael Ubiratam Clemente Afonso
[EMAIL PROTECTED]
---------------------------------
Where is Debug?
Debug is on the Table!


---
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - � gr�tis!
http://antipopup.uol.com.br


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to