开发者

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

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this questi开发者_运维问答on will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

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)?


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.


Yes for MongoDB there are several lib available much like JDBC,JPA. use this link I did a test application and i found that performance of the MongoDB is much better than MySQL while performing bulk inserts and fetching large no of records.

If you are considering any NoSQL data store i would recommend MongoDB.


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.


There is a experimental try on this regard please find https://github.com/erh/mongo-jdbc

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜