Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any JDBC implementations for NoSql databases? [closed]

I just wonder if there are any JDBC implementations (in some extent, as much as possible) for any NoSql DB (opensource or proprietary)?

How do you think, is it possible that this implementation will show as good performance as raw API of correspondent NoSql DB?

Which parts cannot be implemented (transactions? CallableStatements? etc)?

like image 369
Roman Avatar asked Jul 15 '10 08:07

Roman


People also ask

Can JDBC be used for NoSQL database?

JDBC drivers are a standard that is used for connecting to relational databases, NoSQL databases, and other repositories.

Can Hibernate be used with NoSQL?

Hibernate OGM provides Java Persistence (JPA) support for NoSQL solutions. It reuses Hibernate ORM's engine but persists entities into a NoSQL datastore instead of a relational database.

Does JPA work with NoSQL?

Hibernate OGM provides Java Persistence API (JPA) support for NoSQL datastores. NoSQL is an umbrella term covering a wide variety of data storage.


2 Answers

SQL-based DBs have more in common than different. JDBC builds on those commonalities. If you take away SQL, most of the rationale for JDBC is gone! Also, NoSQL DBs have pretty widely varying APIs... there's hardly anything to capture under a common set of methods.

Short answer: No.

like image 111
Carl Smotricz Avatar answered Sep 28 '22 10:09

Carl Smotricz


What SUN did those days was to create abstract specifications for all relational database systems so that Java developers can work with them all easily provided the providers create implementations. That is what JDBC is. An abstract front for relational Databases.

NoSQl is not Relational and there will need to exists a kind of a NoSQL Connectivity Framework probably led by Oracle so that all NoSQL database providers can implement freely and allow Java Developers access via a common ground.

like image 23
user1124315 Avatar answered Sep 28 '22 10:09

user1124315