db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Braeuchi <jbraeu...@gmx.ch>
Subject Re: [OJB] Issue #OJB295 - ClassCastException in buildJoinTree
Date Mon, 04 Oct 2004 17:31:18 GMT
hi roger,

this class cast is caused by a cast to String:

....
if (c instanceof FieldCriteria)
{
  FieldCriteria cc = (FieldCriteria) c;
  buildJoinTreeForColumn((String) cc.getValue(),
         useOuterJoin,c.getUserAlias(),c.getPathClasses());
}

this should only happen when you use a FieldCriteria ie. addEqualToField()

jakob

Roger Pfister schrieb:

> You can view the issue detail at the following URL:
> 
>     http://nagoya.apache.org/scarab/issues/id/OJB295
> 
> Type
>  Defect
> 
> Issue ID
>  OJB295 (ClassCastException in buildJoinTree)
> 
> Reported by
>  Roger Pfister
>  pfuschi (roger.pfister@nowhow.ch)
> 
> New issue details:
> ---------------------------------------------------------
> 
> Description set to "I want to find all entries wit..."
> Operating system set to "Redhat"
> Platform set to "PC"
> Issue created
> Summary set to "ClassCastException in buildJoi..."
> 
> ---------------------------------------------------------
> This message is automatically generated by the Scarab
> issue tracking system.  For more information:
> http://scarab.tigris.org/
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 

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