Neo4j: JDBC Connection Case Using LibreOffice

1,092 views
833 views

Published on

Show how to connect Neo4j dataase using JDBC driver, software client is LibreOffice Base. The slide including setting, query execution and trouble shooting.

Published in: Software, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,092
On SlideShare
0
From Embeds
0
Number of Embeds
30
Actions
Shares
0
Downloads
15
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Neo4j: JDBC Connection Case Using LibreOffice

  1. 1. Neo4j: JDBC Connection Case Using LibreOffice Eric Lee
 National University of Singapore 2014.Apr
  2. 2. Workflow Preparation Connection Setting Query Execution JRE installation check
 Get Neo4j server port
 Download JDBC driver Add JDBC connector
 Create connection setting
 Connection test Create workspace
 Edit Cypher syntax
 Execute syntax
 Check result
  3. 3. Required Files and Parameters • LibreOffice
 http://www.libreoffice.org • Neo4j JDBC Connector
 http://dist.neo4j.org/neo4j-jdbc/neo4j- jdbc-2.0.1-SNAPSHOT-jar-with-dependencies.jar • Neo4j Database Server Location and Port
 XXX.XXX.XXX.XXX:7474
  4. 4. LibreOffice Main Window 1. Tools
 2. Options…
  5. 5. LibreOffice Options Window 1. Advanced
 2. Class Path…
  6. 6. Add JDBC Connector 1. Add Archive
 2. Select JDBC Connector 3. OK
  7. 7. Database Wizard 1. Execute LibreOffice Base
 2. Database Wizard 3. Connect to an existing database:JDBC 4. Next
  8. 8. Database Wizard Test JDBC Driver First! 1. JDBC driver class: org.neo4j.jdbc.Driver
 2. Test class.
 3. If load successful, 
 next step.
  9. 9. Database Wizard Fill Server Parameter 1. Datasource URL: neo4j://<IP or URL>:<port>
 2. Next
  10. 10. Database Wizard User name & Password 1. ID & Password 2. Test Connection 3. Next
  11. 11. Database Wizard Save database workspace 1. Choose the settings 2. Finish 3. Save workspace as..
  12. 12. Database Operation 1. Insert menu 2. Query (SQL View)
  13. 13. Database Operation 1. Edit Cypher scripts. 2. Click “Run SQL command directly” 3. Run Query (F5). 4. Check query result. Run SQL command… Run Query Query Result Cypher Syntax Edit Area
  14. 14. Trouble Shooting • LibreOffice Shows: “JRE is defective” Solution: Install 32bit JRE Select 32bit JRE in 
 Advanced Option window In x64 Windows, 32bit JRE in Program Files (x86)
  15. 15. Trouble Shooting • LibreOffice shows: “Syntax error in SQL statement” Solution: Click “Run SQL command directly” first
 when you start the query syntax editor. 
 Than execute query.

×