This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes EJB-QL problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB-QL problems" Watch "EJB-QL problems" New topic
Author

EJB-QL problems

Stephen Lee
Ranch Hand

Joined: Dec 11, 2001
Posts: 74
Hello,
I want to know the details about the new function of EJB-QL. I have 2 problems in using EJB-QL, so I want to know whether they are supported in BES5.02:
1) Could I implement the ORDER BY part dynamically? so that it will be
SELECT OBJECT(e) FROM EmployeeSchema AS e
WHERE <somecondition>
ORDER BY <generated dynamically, depends on the input parameters>
2) Could I implement the WHERE part dynamically? as there are search function in my project.....
e.g. the user can search the employee by the sex, or by the age range........
How can I implement the above functions? Thanks!
Stephen
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB-QL problems
 
Similar Threads
stuck up in the problem
EJB-QL input parameter problem.
EJB QL Problem in both EJB2.0 & EJB 2.1...
EJB-QL and JBOSS-QL
EJB Query Error