>> On Wed, Jun 9, 2010 at 2:40 PM, Vidar Ramdal wrote:
>>> With Jackrabbit 1.6.2, however, this fails:
>>> javax.jcr.nodetype.ConstraintViolationException: no matching property
>>> definition found for {http://www.jcp.org/jcr/1.0}lastModified
>>> [...]
>>> Is this a bug, or intentional?
> On Wed,
On Wed, Jun 9, 2010 at 2:47 PM, Jukka Zitting wrote:
> Hi,
>
> On Wed, Jun 9, 2010 at 2:40 PM, Vidar Ramdal wrote:
>> With Jackrabbit 1.6.2, however, this fails:
>> javax.jcr.nodetype.ConstraintViolationException: no matching property
>> definition found for {http://www.jcp.org/jcr/1.0}lastModifi
Hi,
On Wed, Jun 9, 2010 at 2:40 PM, Vidar Ramdal wrote:
> With Jackrabbit 1.6.2, however, this fails:
> javax.jcr.nodetype.ConstraintViolationException: no matching property
> definition found for {http://www.jcp.org/jcr/1.0}lastModified
> [...]
> Is this a bug, or intentional?
This looks like a
This worked in Jackrabbit 1.6.0:
var node = session.getItem("/");
node = node.addNode("dummy", "nt:resource");
ValueFactory vf = session.getValueFactory();
Value = vf.createValue("1234", 3); // Create a LongValue
node.setProperty("jcr:lastModified", value);
out.println(node.getProperty("jcr:lastMod