commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafael U. C. Afonso" <>
Subject Re: Problems with primitives attributes in DBUtils
Date Fri, 06 Feb 2004 11:23:50 GMT
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
        throws SQLException {
(propType.equals(Character.TYPE) ||
propType.equals(Character.class)) {
                  return new
                } else {
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.


Rafael Ubiratam Clemente Afonso
Where is Debug?
Debug is on the Table!

Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message