db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Rowell <mark.row...@credittrade.com>
Subject Re: Materialising the wrong type of object when prefetching relations hips where related class is part of extent
Date Fri, 28 Jan 2005 15:13:09 GMT
Thomas Dudziak <tomdzk <at> gmail.com> writes:

> 
> > the jdbc type is the same, it is the type in the Java class that is
> > different...
> 
> Oh, ok, that should work once OJB has the right class.
> 
> Tom
> 


and OJB does not have the right class.. I have got round it by putting the 
same FieldConversion on the rank field in the BBGBondModel class but make it 
return a String...(which is the type of rank in BBGBondModel) class....


Thanks *& I won;t bug you anymore!)

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message