jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Kiehl <christ...@sulu3000.de>
Subject Re: UUID
Date Thu, 22 Mar 2007 15:54:59 GMT
Michal Hybler wrote:
> I have question is the property jcr:uuid same as node.getUUID()?
> 
> because if I ask for uuid by this method node.getUUID() and after that If I
> request for UUID by this way:
> 
> HashMap<String,String> properties = new HashMap<String,String>();
> 		
> 			PropertyIterator iter = node.getProperties();
> 			while(iter.hasNext()){
> 				Property prop = iter.nextProperty();
> 				if (!prop.getDefinition().isMultiple()) {
> 					properties.put(prop.getName(), prop.getValue().getString());
> 				}
> 				
> 			}

Could you please provide more of your source code, especially the part where you 
call node.getUUID() and the part where your console output happens?

Thanks,
Christoph



Mime
View raw message