Mail Archive Home | medor List | Febuary 2005 Index
| Date Index --> | Thread Index --> |
Bugs item #100482, was opened at 04/09/2003 08:41
You can respond by visiting:
http://forge.objectweb.org/tracker/?func=detail&atid=100043&aid=100482&group_id=43
Category: MEDOR core
Group: None
>Status: Closed
Resolution: Accepted
Priority: 9
Submitted By: Helene Joanin (joaninh)
Assigned to: Alexandre Lefebvre (lefebval)
Summary: IS EMPTY and the OR operator
Initial Comment:
We can't translate in a MEDOR query this following EJBQL query:
SELECT OBJECT(c) FROM jt2_Customer AS c
WHERE c.reservations IS EMPTY OR c.hasGoodCredit == true
----------------------------------------------------------------------
Comment By: Alexandre Lefebvre (lefebval)
Date: 17/09/2003 10:47
Message:
The solution is as follows for IS_EMPTY and IS_NOT_EMPTY:
1. Change the return type of the navigatorNodeFactory.navigate method in a
OReturn object which contains the field name of the left field (this field
may be propagated if there are later navigations), the right field (the
element of the GenClass) and the operation type (MemberOf or NotMemberOf).
2. Users of MEDOR (JOnAS and Speedo at the moment) will have to modify the
parsing such that, when Is(Not)Empty is found, the OReturn object is pushed
to the stack. Later, when processing the Expressions, if OReturn is found,
then the user has to construct a JoinProject, construct the right
(Not)MemberOf expression using the data provided in OReturn
These modifications have to be done jointly between MEDOR and the MEDOR user
projects.
----------------------------------------------------------------------
You can respond by visiting:
http://forge.objectweb.org/tracker/?func=detail&atid=100043&aid=100482&group_id=43
| Date Index --> | Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.