put brackets around the SomeObject and from statement
not ( SomeObject(val == 5) from dao.find(99) )
Eric Miles wrote:
I'm trying to use the FROM keyword in a way that I think it should be
able to be used, but I'm getting compilation errors. Here are the 2
ways that I'm getting stumped on:
That works, thanks a bunch. However, the exists still will not work as
I had hoped. The brackets do not help if dao.find(99) returns a null; I
receive a null pointer exception. Is there any way to deal with that
gracefully in drools? That's why I wanted to use the exists syntax...
exists