[ http://jira.jboss.com/jira/browse/JBAS-624?page=history ]

Scott M Stark updated JBAS-624:
-------------------------------

      Assign To: Alexey Loubyansky  (was: Scott M Stark)
    Description: 
SourceForge Submitter: hunterhillegas .
There is no way to specify the order that CMR objects come 
back from the database in.

Instead of having to use a Comparator it would be nice to be 
able specify a column in the relationship bean to order by 
when generating the SQL.

I.e.

<relationship-order-by>restaurant_name DESC</
relationship-order-by>

So when it grabs the related entities it could append this 
SQL to the query...

  was:
SourceForge Submitter: hunterhillegas .
There is no way to specify the order that CMR objects come 
back from the database in.

Instead of having to use a Comparator it would be nice to be 
able specify a column in the relationship bean to order by 
when generating the SQL.

I.e.

<relationship-order-by>restaurant_name DESC</
relationship-order-by>

So when it grabs the related entities it could append this 
SQL to the query...

    Environment: 
       Priority: Minor  (was: Major)

> Be Able to Specify Ordering For CMR Objects
> -------------------------------------------
>
>          Key: JBAS-624
>          URL: http://jira.jboss.com/jira/browse/JBAS-624
>      Project: JBoss Application Server
>         Type: Feature Request
>   Components: CMP service
>     Versions: JBossAS-3.2.6 Final
>     Reporter: SourceForge User
>     Assignee: Alexey Loubyansky
>     Priority: Minor

>
>
> SourceForge Submitter: hunterhillegas .
> There is no way to specify the order that CMR objects come 
> back from the database in.
> Instead of having to use a Comparator it would be nice to be 
> able specify a column in the relationship bean to order by 
> when generating the SQL.
> I.e.
> <relationship-order-by>restaurant_name DESC</
> relationship-order-by>
> So when it grabs the related entities it could append this 
> SQL to the query...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to