I am trying to create a node of type nt:file and I have defined my pojo
using the notation below

@Node(jcrSuperTypes=JcrConstants.NT_FILE)
public class MyFile {
(...)
}

However, when I go to check  in the jackrabbit repository, the node is
always with 
jcr:primaryType = nt:unstructured
Shouldn't it show nt:file ?

What else should I do to ensure that the node is saved as nt:file ? Thank
you



--
View this message in context: 
http://jackrabbit.510166.n4.nabble.com/ocm-notation-to-create-a-node-of-type-nt-file-tp4662219.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to