• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Can Neo4j and SQL combination work together?

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I'm fairly new to NoSQL databases and hence always have this question about being able to use a Polyglot system where we have a NOSQL db like Mongo/Neo4J/Cassandra along with a relational DB. Hence was wondering if Neo4J has any provision to support this or any transaction support etc or does this have to be managed by the Business logic.

If it is business logic that will manage transactions, lot of ORM frameworks like Ibatis/Abator or Hibernate will not be as useful as they are.

Any thoughts there?

Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Samir,

They certainly can.
Neo4j is ACID-compliant and can participate in XA transactions with supported JDBC connections and/or any other XA resource (JMS connections...)

If you use Spring Framework, Neo4j can participate in transactions using @Transactional annotation as well.

For more details you can take a look at Chris Gioran's blog (a bit old, but still valid in Neo4j XA space):

I will suppress my every urge. But not this shameless plug:
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic