Your SlideShare is downloading. ×

Neo4j: JDBC Connection Case Using LibreOffice

510

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.

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
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
510
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Neo4j: JDBC Connection Case Using LibreOffice Eric Lee
 National University of Singapore 2014.Apr
  • 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. 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. LibreOffice Main Window 1. Tools
 2. Options…
  • 5. LibreOffice Options Window 1. Advanced
 2. Class Path…
  • 6. Add JDBC Connector 1. Add Archive
 2. Select JDBC Connector 3. OK
  • 7. Database Wizard 1. Execute LibreOffice Base
 2. Database Wizard 3. Connect to an existing database:JDBC 4. Next
  • 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. Database Wizard Fill Server Parameter 1. Datasource URL: neo4j://<IP or URL>:<port>
 2. Next
  • 10. Database Wizard User name & Password 1. ID & Password 2. Test Connection 3. Next
  • 11. Database Wizard Save database workspace 1. Choose the settings 2. Finish 3. Save workspace as..
  • 12. Database Operation 1. Insert menu 2. Query (SQL View)
  • 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. 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. 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.

×