opensubscriber
   Find in this group all groups
 
Unknown more information…

o : ojb-user@db.apache.org 20 November 2008 • 6:13PM -0500

Query against an interface
by drsla@tiscali.it

REPLY TO AUTHOR
 
REPLY TO GROUP



Hi list,
I have a question regarding queries against an interface.
In
my application I have an interface with 2 subclasses. The interface has
a "description" field.

/*
* @ojb.field name="description"
* jdbc-
type="VARCHAR"
* length="300"
*/
public String getDescription();



When I build a query and I order it by description, all is fine if the
query is against a single subclass.
If the query is against the
interface, I have these results:
- first subclass results ordered by
description, then
- second subclass results ordered by description

Is
there a way to have all results ordered by description, and not each
subclass results ordered by description?
Any hint would be greatly
appreciated.
Thanks in advance and best regards,
Marco


_______________________________________________________________



Telefona e naviga senza limiti con Tiscali Voce 8 Mega a soli € 15 al mese per 1 ANNO. In seguito paghi € 29,90 al mese. Attiva entro il 20/11/08! http://abbonati.tiscali.it/promo/voce8mega/

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.a...
For additional commands, e-mail: ojb-user-help@db.a...


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.