struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorbjørn Ravn Andersen <...@biobase.dk>
Subject Re: DynaBeans
Date Wed, 12 Mar 2003 22:39:58 GMT
Mark Lowe wrote:

> Anyone got any cunning suggestions/workarounds as to change property 
> type in a  DynaBean?
>
> I'm attempting to replace an int that has been created from a 
> ResultSetDynaClass with a DynaBean, or other useful object....
>
I do not fully understand your problem.  I had a problem where I wanted 
a replacement for java.sql.TimeStamp (to get a better toString) and I 
ended up in doing custom "constructor" and "copy-to-permanent-bean" 
methods, which was cumbersome and tedious.

So I basically get the fields of type java.sql.TimeStamp cast to another 
class, and the result of that entered in the permanent bean.

Is that what you need?


-- 
  Thorbjørn Ravn Andersen      Scandiatransplant
                               Skejby Sygehus, indgang 3
  +45 89 49 53 01              DK-8200 Århus N
  http://biobase.dk/~tra         




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message