ExpressionBuilder bug?
"Riccardo Bocci" <[email protected]> Wed, 21 Sep 2005 18:23:38 +0200
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <CBAD69EB7E8DB24C85711C701181D9879BA82C@parsifal.init.gruppoinit.it> |
Hi All,
I got an exception using AssignmentIteratorExpressionBuilder
Below is my code that throw the exception
AssignmentIteratorExpressionBuilder eb =
ebm.getAssignmentIteratorExpressionBuilder();
eb.addProcessIdEquals(procId);
eb.setOrderByCreatedTime(true);
WfAssignmentIterator it = ea.get_iterator_assignment();
System.out.println(eb.toExpression().toString());
it.set_query_expression(eb.toExpression());
WfAssignmentImpl[] acts = it.get_next_n_sequence(0);
it throws an exception
org.enhydra.shark.api.client.wfbase.BaseException: Unknown SQLException:
<SqlQueryExecute><SqlQueryException>(<Replicated>:ORA-00933: SQL command
not properly ended )
When loggin eb.toExpression() it return the follow string:
processId.equals("701_pck_foo")
/*sql Activity IN (select oid from Activities where ProcessId =
'701_pck_foo')) sql*/
I think that the exception is thrown because of the second parenthesis
eb.toExpression()
Which is not correct.
Any suggestion?
message-footer.txt
(text/plain, 271 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws