Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8794089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:12:19+00:00 2026-06-13T23:12:19+00:00

I would like to use the ENRON GraphML dataset , loaded into Neo4j, as

  • 0

I would like to use the ENRON GraphML dataset, loaded into Neo4j, as a database for my Grails 2.0 application. The use-case for the data is read-only. I have had no trouble loading the dataset and creating a database in a stand-alone application, and now would like to use the Grails plugin to manage access to the database.

Looking at the Neo4J plugin documentation on mapping domain classes, I see that it requires subreference nodes for each type of vertex. My data doesn’t have that. I can see several ways of moving forward, and am unsure about which to pursue:

  1. Dump the plugin, create a service, and manage reading the database myself. Pros: I can implement this easily. Cons: potential performance issues, bugs.

  2. Write a program that creates the missing vertexes and edges expected by the plugin, and then load the database into the plugin. Pros: plugin will manage access. Cons: Might take a few iterations to figure out exactly what needs to be added to make it consistent with a plugin-created database.

  3. Create an empty database via the plugin and perform a bunch of insertions by reading the data from a different database. Pros: plugin will manage access. Cons: might take a long time to bootstrap database; need to write code to traverse, serialize database; etc.

What’s a good way to go? What am I overlooking?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:12:21+00:00Added an answer on June 13, 2026 at 11:12 pm

    As being the author of the Grails Neo4j plugin I might be able to give a qualified answer here. The subreference structure currently used in the plugin is not always the best approach. I have some plans to replace this by indexing in a configurable way but there is no ETA right now.
    As you might require a more short term solution, I suggest to choose between 1) and 2) in case of a read-only database. One of the main advantages for using domain classes is the usage of scaffolding. As you’re read only, this argument does not count here IMHO.

    1) has another nice advantage: If you use e.g. cypher to query the graph the performance would be very good even when using a REST style database. In general if performance is important you should use cypher in favour of doing Grails criteria queries/ dynamic finders.

    2) If you’re going with that approach I can provide some support. Basically you need to create your domain classes and create a subreference node per domain class and connect all instances to this one. Advantage here: you could use e.g. dynamic finders or standard criteria queries. Creating the subreference nodes and the connections to the instances node could be easily done with one or two cypher statements.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like use data annotations to handle validation in my Silverlight app. The
I have an AIR application and I would like use SQLite instead of an
I would like to use swf animations in my application. 1. Is it possible
I currently have some large strings that I would like use as test data
I am using AdoNetAppender (SQL server) in my asp.net application and would like use
I have an array of Integers in Java, I would like use only a
I would like to use R to extract the speaker out of scripts formatted
I would like to use Maven's password encryption such as it uses for nodes
I would like to use the logout function from Django but not sure how
I would like to use D3.js (or maybe Raphaël ) for backend-generated reports using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.