db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Braeuchi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OJB-3) ReportQuery ignores field conversion defined in repository
Date Wed, 08 Jun 2005 20:47:14 GMT
    [ http://issues.apache.org/jira/browse/OJB-3?page=comments#action_12313092 ] 

Jakob Braeuchi commented on OJB-3:
----------------------------------

the FieldDescriptors found while resolving a attribute are passed back to the ReportQuery
to be used by ReportQueryRsIterator.
this allows to use the FieldConversions defined in the Repository, FieldConversions for Attributes
that are not defined in the Repository are not supported.

> ReportQuery ignores field conversion defined in repository
> ----------------------------------------------------------
>
>          Key: OJB-3
>          URL: http://issues.apache.org/jira/browse/OJB-3
>      Project: OJB
>         Type: Bug
>   Components: PB-API
>  Environment: Win 2000
>     Reporter: Jakob Braeuchi
>     Assignee: Jakob Braeuchi
>      Fix For: 1.0.4, 1.0.x CVS

>
> When using a ReportQueryByCriteria, the Object[] for each row obtained through the getReportQueryIteratorByQuery()
method contains objects that have not been converted using the "conversion" setting in the
repository. For example, if a field that is CHAR in the database, but has a Boolean2CharConversion
class defined in the conversion attribute, is used in a ReportQuery - the object in the array
is converted using the default OJB field conversion, not the defined one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
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