[
https://issues.apache.org/jira/browse/CAY-1799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dzmitry Kazimirchyk closed CAY-1799.
------------------------------------
Resolution: Fixed
Fix Version/s: 3.2.M2
3.1B3
Thanks for the patch. Committed to both trunk and 3.1.
> ROP: Server can't deserialize LIKE expression with pattern already compiled
> ---------------------------------------------------------------------------
>
> Key: CAY-1799
> URL: https://issues.apache.org/jira/browse/CAY-1799
> Project: Cayenne
> Issue Type: Bug
> Components: ROP
> Affects Versions: 3.1B2
> Reporter: Dzmitry Kazimirchyk
> Fix For: 3.1B3, 3.2.M2
>
> Attachments: 1799_LikeExpression.patch, 1799_LikeExpression_test.patch
>
>
> When query qualifier contains LIKE expression with pattern already
> precompiled (for instance expression.filterObjects() was used before
> performing query) hessian deserializer on server side will throw following
> exception:
> com.caucho.hessian.io.HessianFieldException:
> org.apache.cayenne.exp.parser.PatternMatchNode.pattern:
> 'java.util.regex.Pattern' could not be instantiated
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)