arch 31, 2005 11:51 PM
To: OJB Users List
Subject: Re: Help Needed for Report Query Problem .
hi chandan,
this looks like a conflict in column names.
have you tried using an alias for project.name:
mainQuery.setAttributes(new String[] { "id" , "name" , "age" ,
"
e of the "employee" and
not the name of the "project" .
When I copy the query from the log file and run it in its running the correct
result ie the last column is the the project.name .
Also , When I select "project.id" instead of "project.name" . I am
do one has to rely on
getClass() thing to do the right casting .
Regards ,
Chandan
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 29, 2005 3:01 PM
To: OJB Users List
Subject: Re: Report query ClassCast exception .
Chandan AHUJA wrote:
>
in Waibel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 29, 2005 2:02 PM
To: OJB Users List
Subject: Re: Report query ClassCast exception .
Hi Chandan,
Chandan AHUJA wrote:
> Hello ,
> I am very new to OJB .I have the following query .
>
>
> I am using the class &quo
Hello ,
I am very new to OJB .I have the following query .
I am using the class "ReportQueryByCriteria" and am using some "group"
functions in it .
Eg .
query = new ReportQueryByCriteria(Employee.class, criteria);
query.setAttributes(new String[] { "dept__id" , "s
Hello ,
I am new to OJB , and I have following query .
In OJB , using the "Criteria" class we can define the where clause .
I would like to know , in OJB how can we manipulate the "fields to be selected"
in the "select clause" .
To be more precise how can we use functions like "nvl" and