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

Nikita Timofeev reassigned CAY-2760:
------------------------------------

    Assignee: Nikita Timofeev

> ObjectContext.userProperties need a way to clear properties
> -----------------------------------------------------------
>
>                 Key: CAY-2760
>                 URL: https://issues.apache.org/jira/browse/CAY-2760
>             Project: Cayenne
>          Issue Type: Improvement
>            Reporter: Andrus Adamchik
>            Assignee: Nikita Timofeev
>            Priority: Minor
>             Fix For: 4.3.M1
>
>
> I use ObjectContext.userProperties as a way of communicating state between 
> DataChannel filters. Though it has some limitations that make it painful. The 
> biggest one is that there's no way to remove a property stored. Even 
> replacing the value with null doesn't work (setUserProperty("p", null) throws 
> an exception).
> Let's implement the following API:
> {noformat}
> ObjectContext.removeUserProperty(String)
> ObjectContext.clearUserProperties()
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to