Using neo4j 1.4-SNAPSHOT it seems the storage or retrieval of long values no 
longer works properly.package com.multispective.snippet;import 
org.neo4j.kernel.EmbeddedGraphDatabase;import 
org.neo4j.graphdb.GraphDatabaseService;import 
org.neo4j.graphdb.Transaction;import org.neo4j.graphdb.Node;public class Test2 
{        public static void main(String args[]){                         
GraphDatabaseService db = new  EmbeddedGraphDatabase("var/db");         
Transaction tx = db.beginTx();          try{                    Node n = 
db.getReferenceNode();                 long l = -134217728l;                   
n.setProperty("testvalue", l);                  
System.out.println(n.getProperty("testvalue"));                 long l2 = 
-134217729l;                  n.setProperty("testvalue2", l2);                  
      System.out.println(n.getProperty("testvalue2"));                        
tx.success();           }finally{                       tx.finish();            
}       }}Result:-134217728134217727Kind regards,Niels Hoogeveen                
                          
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to