Running in browser (Mac OS X, neo4j 2.0.1 community) MATCH (n:User) RETURN n.name
gives: name1 name2 name3 name4 name5 name6 When I run this code in a groovy script (using neo4j-jdbc-2.0.1-SNAPSHOT-jar-with-dependencies.jar) *import java.sql.Connection* *import java.sql.DriverManager* *import java.sql.ResultSet* *import java.sql.Statement* *// Make sure Neo4j Driver is registered* *Class.forName("org.neo4j.jdbc.Driver");* *// Connect* *Connection con = DriverManager.getConnection("jdbc:neo4j://localhost:7474/");* *// Querying* *Statement stmt = con.createStatement()* *ResultSet rs = stmt.executeQuery("MATCH (n:Allele) RETURN n.name");* *while(rs.next())* *{* * System.out.println(rs.getString("n.name"));* *}* *println("finished")* I am getting the results: *Apr 13, 2014 8:33:06 PM org.restlet.ext.httpclient.HttpClientHelper start* *INFO: Starting the Apache HTTP client* *log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager).* *log4j:WARN Please initialize the log4j system properly.* *Apr 13, 2014 8:33:07 PM org.restlet.ext.httpclient.HttpClientHelper start* *INFO: Starting the Apache HTTP client* *name1* *Unexpected token END_ARRAY* *name2* *name3* *name4* *name5* *name6* *errors-next-token = FIELD_NAME* *null* *finished* *Process finished with exit code 0* Any idea why I am getting these extra lines? Have I not set something up? Thanks! -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.