[ 
https://issues.apache.org/jira/browse/CAY-1799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Artyukevich updated CAY-1799:
----------------------------------

    Attachment: 1799_LikeExpression_test.patch
                1799_LikeExpression.patch

Make fields patter and patternCompiled in PatternMatchNode as transient.
Test for this CAY.

> 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
>         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#6144)

Reply via email to