You must return a Collection from your ejbSelectGeneric method. When using a Set the ordering is incorrect.
I have a question for you.
I'm wondered about the use of the ORDER BY clause in your ejb-ql query. In fact, I'm using EJB 2.0 with JBoss and if I use the ORDER BY, I obtain a ParseException during deployment phase because EJB 2.0 does not support the ORDER BY.
So, can you tell me how can I use the ORDER BY clause?