Andrus Adamchik created CAY-2760:
------------------------------------
Summary: 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
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)