actually, it's a bit more complicated :)


all the torque stuff use getType() in hope that it
returns the name of the type as a String.

but BasePeer stuff uses getType() in hope that it
return an Object of the type.


Perhaps we should add another method to Column.java
  getTypeName() which returns the String
  and then patch the torque stuff to call getTypeName



mike



On Fri, Dec 08, 2000 at 04:42:51PM -0600, Mike Haberman wrote:
> 
> Can someone confirm that this is a bug.  
> I will submit the patch asap.
> 
> 
> 
> in BasePeer you have a lot of code doing this:
> if (  column.getType() instanceof String )
> 
> 
> however, in torque/model/Column.java
> you have
> 
>  public String getType()
>     return type;
> 
> 
>   It should be 
>   public Object getType()
>      return columnType;
> 
> 
> let me know, 
> 
> 
> mike
> 
> 
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to