[
https://jira.jboss.org/jira/browse/JBSEAM-4647?page=com.atlassian.jira.pl...
]
Javier RodrÃguez updated JBSEAM-4647:
--------------------------------------
Attachment: QuerySort Demo.zip
An example project to evaluate this new features.
The example has been generated using the patched seam-gen.
Create the sample database using the included mySql backup and then use modified seam-gen
to generate the project (starting from this database)
Attached file contains also the few modifications that must be done to automatically
generated seam-gen code to integrate the new features.
Enhanced sort capabilities Query
--------------------------------
Key: JBSEAM-4647
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4647
Project: Seam
Issue Type: Patch
Components: Framework
Affects Versions: 2.2.1.CR1
Environment: Seam 2.2.1-CR1, JBoss AS 5.1.0-GA
Reporter: Javier RodrÃguez
Priority: Optional
Attachments: Patch.zip, QuerySort Demo.zip
Improve Query capabilities:
- Allow "propertyPath [propertiDir], propertyPath [propertyDir], ...,
propertyPath [propertyDir]" syntax for setOrderColumn(String orderColumn). In this
way a single list column can be ordered by one or more entity properties.
- Previous queries order tracking: Remenber previous query ordering and use it as a
secondary order criteria for next ones.
Update sen-gen project generation to make it use easy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira