Finally I am done with implementation work for this issue, it covers all queries plus requested change to use hibernate way of applying parameters to the query.
Supported SQL operands are:
- Equals
- Like
- In
- Not in
Please have a look at latest patch (JBPM-2873-final.patch) and let me know what do you think about it.
In the end I decided to change it a bit and provide overloaded method for each available parameter that allows to provide operand for the query instead of having one method that sets the operand prior to setting the parameter. This way is more intuitive and in line with current implementation.
Cheers