ReportQueries don't care for FieldConversions!
ReportQueries give you the freedom to perform queries that have nothing in common with the object model defined in repository.xml.
They also do not return business objects but row arrays.
So it would not correct to apply FieldConversions, as they are only defined for business objects.
cheers, Thomas
Dougall Squair wrote:
Hi,
I have defined a ReportQueryByCriteria which has as a field that uses a
conversion class. e.g.
....
<field-descriptor name="addressStatus" column="status" jdbc-type="INTEGER" conversion="dao.ojb.Status2IntFieldConversion" >
However the data type of the object returned in the row array is of Type java.lang.Integer and not Status. Is this expected behavour?
Dougall
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
