[jboss-dev-forums] [jBPM Development] - Re: JBPM-2873 - support for like in query

Alejandro Guizar do-not-reply at jboss.com
Thu Sep 9 16:19:51 EDT 2010


Alejandro Guizar [http://community.jboss.org/people/alex.guizar%40jboss.com] created the discussion

"Re: JBPM-2873 - support for like in query"

To view the discussion, visit: http://community.jboss.org/message/561191#561191

--------------------------------------------------------------
After adding the new history columns introduced in  https://jira.jboss.org/browse/JBPM-2398 JBPM-2398 to the create/drop schema scripts and reviewing the QueryOperand use, I am not very comfortable with the fact that the parameter value has to be a String, even if operands such as IN should be taking a List. I'd much rather have a factory for  http://docs.jboss.org/hibernate/stable/core/api/org/hibernate/criterion/Restrictions.html restrictions that can be added to queries much like the Hibernate criteria API. Unfortuantely when reaching that level of flexibility one begins to wonder why not just skip the jBPM queries entirely and go straight to the far more expressive Hibernate criteria. I will reopen JBPM-2873 and work on this proposal. Excuse me if I did not chime in earlier.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/561191#561191]

Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100909/b44ffb4e/attachment.html 


More information about the jboss-dev-forums mailing list