Re: ExpressionBuilder bug?
"Sasa Bojanic" <[email protected]> Thu, 29 Sep 2005 22:22:17 +0200 (CEST)
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
Hi,
thanks for reporting. It'll be fixed in some of the future CVS Updates.
Thanks,
Sasa.
> 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