This content has been marked as final.
Show 3 replies
-
1. Re: EJBQL and seam-gen orderColumn sort parameter on pages
albert1scholtz Apr 16, 2009 7:17 AM (in response to albert1scholtz)Hi,
Any ideas on this? Any help will be appreciated.
Thanks
Albert -
2. Re: EJBQL and seam-gen orderColumn sort parameter on pages
marcioendo.marcioendo.gmail.com Apr 16, 2009 5:38 PM (in response to albert1scholtz)Try the following ejbql:
public String getEjbql() { return "select partnerHandsets from PartnerHandsets partnerHandsets join partnerHandsets.partners partners"; }
And then you probably could use
partnerHandsetsList.orderColumn=='partners.name'
Could you try these?
-
3. Re: EJBQL and seam-gen orderColumn sort parameter on pages
albert1scholtz May 11, 2009 12:09 PM (in response to albert1scholtz)Hi,
This does not work as i get this exception:
Caused by java.lang.IllegalArgumentException with message: "invalid order column ("partnerHandsets.id" must match the regular expression "^\w*$")"
This restriction is implied in the seam Query class.
Any way to get around this regular expression check? What is the function of this check?
Thanks for your help.
Regards
Albert Scholtz