• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Can Neo4j and SQL combination work together?

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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?

Thanks
 
Author
Posts: 10
5
  • Mark post as helpful
  • send pies
  • 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):
http://digitalstain.blogspot.co.uk/2010/10/neo4j-internals-transactions-part-2.html

Aleksa
 
Just the other day, I was thinking ... about this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic