[ 
https://issues.apache.org/jira/browse/CAY-1799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13584131#comment-13584131
 ] 

Dzmitry Kazimirchyk commented on CAY-1799:
------------------------------------------

I think what we need here is to make PatternMatchNode.pattern and 
PatternMatchNode.patternCompiled transient. Server will recompile expression's 
pattern again if it will need to.
                
> 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
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to