[jboss-user] [JBoss Seam] - How should i do to find entity using some criteria and proce
wkzk
do-not-reply at jboss.com
Tue Jun 19 11:45:36 EDT 2007
Hi
I 'm just wondering how to find entities using some criteria and process state at once.
Here is my situation:
I have an Order class which has a field - entry-date.(of cource Id, too).
The Order class does not have a state because jBPM manage states.
(DRY principle, or should it have?)
And the order object runs on XXX process.
I assume that the state of the process goes to ACCEPTED->APPROVED.
Now, I want to search objects with Specific range of entry-date and state.
for example, the criteria would be
entry-date > 2007/5/1 and entry-date <=2007/6/1 and state = ACCEPTED
Is it possible?
if not, how should i implement with Seam,basically?
I know that
http://jira.jboss.com/jira/browse/JBSEAM-256?page=comments#action_12348116.
does it affect my question?
Thanks in advance.
-Shige
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055696#4055696
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055696
More information about the jboss-user
mailing list