Diego Marin Santos wrote:
There are two types of properties, single or multiple values. Multiple values properties can hold null, but single values cannot. It means that to remove a single value property, you must set it to null with the method Node.setProperty(propertyName, null)
Almost. Multivalued properties can not hold the null value, but they can hold a list of zero entries (which may be sufficiently close depending on the use case).
Also, of course you can simply use the remove() method on the property, that's what it is for :-) (<http://www.day.com/specs/jcr/1.0/7.1.6_Removing_Nodes_and_Properties.html>)
Best regards, Julian
