[JAVA-539] Are there any plans to create a JDBC driver for mongoDB? Created: 14/Mar/12 Updated: 07/Apr/23 Resolved: 17/May/12 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | 2.7.2 |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Bruce Ginyard | Assignee: | Jeffrey Yemin |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows |
||
| Description |
|
Are there any plans to create a sql jdbc driver for accessing mongoDB? |
| Comments |
| Comment by Rob Manning [ 19/Nov/12 ] |
|
Agreed, a JSON document doesn't map well to a ResultSet. Unless you treat it like a large string, or a CLOB. That is what I intend to do with the mongojdbcdriver project: https://sourceforge.net/projects/mongojdbcdriver/?source=directory This is not intended to be a replacement for the MongoDB Java driver; just a way to visualize the data in a way that is familiar to Java developers who know JDBC. |
| Comment by Jeffrey Yemin [ 14/Mar/12 ] |
|
We have no plans to do that, no. It's more common for people to abstract the data store at a higher layer in the software stack than the driver. The SQL data model is just too different from the MongoDB data model to make it possible to implement a proper JDBC driver on top of Mongo. In particular, a JSON document does not map well into a java.sql.ResultSet. |